mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
Add zero and io to the rm -f line for std devices so they get removed before
an attempt is made to mknod them.
This commit is contained in:
parent
2110b1cd9d
commit
343b7b7dd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=680
@ -67,7 +67,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.12 1993/10/23 10:58:51 jkh Exp $
|
||||
# $Id: MAKEDEV,v 1.13 1993/10/23 22:24:35 jkh Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -86,7 +86,7 @@ all)
|
||||
# these are for codrv and interfere with other devices! - rgrimes
|
||||
;;
|
||||
std)
|
||||
rm -f console drum mem kmem null tty klog stdin stdout stderr
|
||||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
|
||||
mknod console c 0 0; chmod 600 console; chown root.wheel console
|
||||
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
||||
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
||||
|
@ -67,7 +67,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.12 1993/10/23 10:58:51 jkh Exp $
|
||||
# $Id: MAKEDEV,v 1.13 1993/10/23 22:24:35 jkh Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -86,7 +86,7 @@ all)
|
||||
# these are for codrv and interfere with other devices! - rgrimes
|
||||
;;
|
||||
std)
|
||||
rm -f console drum mem kmem null tty klog stdin stdout stderr
|
||||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
|
||||
mknod console c 0 0; chmod 600 console; chown root.wheel console
|
||||
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
||||
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
||||
|
Loading…
Reference in New Issue
Block a user