Clear flags on psuedo terminals before trying to chmod and chown them.

This commit is contained in:
Warner Losh 1999-08-02 05:42:44 +00:00
parent 0983f2b022
commit 3ee2311670
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49366

3
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.188 1999/06/01 10:47:53 brian Exp $
# $Id: rc,v 1.189 1999/06/21 15:59:42 sheldonh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -179,6 +179,7 @@ mount -a -t nfs
echo .
# Whack the pty perms back into shape.
chflags 0 /dev/tty[pqrsPQRS]*
chmod 666 /dev/tty[pqrsPQRS]*
chown root:wheel /dev/tty[pqrsPQRS]*