mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 22:12:43 +00:00
Extend the set of ptys to chmod at boot time.
Closes PR # conf/1957: not all perms of ptys... Submitted by: gurney_j@efn.org (John-Mark Gurney)
This commit is contained in:
parent
fefbe220bc
commit
ee4466ac87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20828
4
etc/rc
4
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.106 1996/11/13 19:04:31 adam Exp $
|
||||
# $Id: rc,v 1.107 1996/12/19 18:06:35 joerg Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -115,7 +115,7 @@ fi
|
||||
mount -a -t nfs >/dev/null 2>&1
|
||||
|
||||
# Whack the pty perms back into shape.
|
||||
chmod 666 /dev/tty[pqrs]*
|
||||
chmod 666 /dev/tty[pqrsPQRS]*
|
||||
|
||||
# clean up left-over files
|
||||
rm -f /etc/nologin
|
||||
|
Loading…
Reference in New Issue
Block a user