3 # $NetBSD: ttys,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/ttys,v 1.3 2002/09/06 16:18:05 gordon Exp $
5 # $DragonFly: src/etc/rc.d/ttys,v 1.4 2005/11/19 21:47:32 swildner Exp $
14 start_cmd
="ttyflags_start"
19 # Whack the pty perms back into shape.
20 # XXX: there may be more ptys than this; maybe use
21 # sysctl to find out how many?
23 if ls /dev
/tty
[pqrsPQRS
]* > /dev
/null
2>&1; then
24 chflags
0 /dev
/tty
[pqrsPQRS
]*
25 chmod 666 /dev
/tty
[pqrsPQRS
]*
26 chown root
:wheel
/dev
/tty
[pqrsPQRS
]*