Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d reset perms of ptyX[0-9a-zA-Z] instead of just ptyX...
details: https://anonhg.NetBSD.org/src/rev/d3e57b556336
branches: trunk
changeset: 522174:d3e57b556336
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Feb 12 01:23:11 2002 +0000
description:
reset perms of ptyX[0-9a-zA-Z] instead of just ptyX[0-9a-f]
diffstat:
etc/rc.d/ttys | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 7ab3af92980f -r d3e57b556336 etc/rc.d/ttys
--- a/etc/rc.d/ttys Tue Feb 12 01:08:12 2002 +0000
+++ b/etc/rc.d/ttys Tue Feb 12 01:23:11 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ttys,v 1.3 2001/04/25 12:59:16 lukem Exp $
+# $NetBSD: ttys,v 1.4 2002/02/12 01:23:11 lukem Exp $
#
# PROVIDE: tty
@@ -25,12 +25,12 @@
# XXX: there may be more ptys than this; maybe use
# sysctl kern.maxptys to find out how many?
#
- chmod 666 /dev/tty[p-uw-zP-T][0-9a-f]
+ chmod 666 /dev/tty[p-uw-zP-T][0-9a-zA-Z]
# only change ttyv* if ttyv0 is not reserved by a console.
#
if [ -c /dev/ttyv1 ]; then
- chmod 666 /dev/ttyv[0-9a-f]
+ chmod 666 /dev/ttyv[0-9a-zA-Z]
fi
}
Home |
Main Index |
Thread Index |
Old Index