summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-08-02 05:42:44 +0000
committerimp <imp@FreeBSD.org>1999-08-02 05:42:44 +0000
commit31a7ff272fde853ba8ad5616f5bad354812074ca (patch)
tree018c4d54fc9c942372ee1b3ceb5bde64a9dbcd5e /etc
parent7f4aba7cc3b93d009f3def01d14dca202ae4e9d7 (diff)
downloadFreeBSD-src-31a7ff272fde853ba8ad5616f5bad354812074ca.zip
FreeBSD-src-31a7ff272fde853ba8ad5616f5bad354812074ca.tar.gz
Clear flags on psuedo terminals before trying to chmod and chown them.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 697d3c9..b0e7a2b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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]*
OpenPOWER on IntegriCloud