mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Update references to rc.diskless[12]
This commit is contained in:
parent
1a7c9b7f5e
commit
9f29b7170b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121066
@ -133,7 +133,7 @@ if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
|
||||
true
|
||||
elif (/bin/mkdir /dev/.diskless 2> /dev/null); then
|
||||
# if /dev is writable assume it has already been populated
|
||||
# via rc.diskless1
|
||||
# via /etc/rc.d/initdiskless
|
||||
#
|
||||
rmdir /dev/.diskless
|
||||
else
|
||||
|
@ -75,8 +75,8 @@
|
||||
# /conf/default/etc/{rc.conf,rc.local,fstab}. Your fstab should be sure
|
||||
# to mount a /usr... typically an NFS readonly /usr.
|
||||
#
|
||||
# NOTE! rc.diskless2 will create /var, /tmp, and /dev. Those filesystems
|
||||
# should not be specified in /conf. At least not yet.
|
||||
# NOTE! /etc/rc.d/diskless will create /var, /tmp, and /dev.
|
||||
# Those filesystems should not be specified in /conf. At least not yet.
|
||||
|
||||
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
|
||||
[ ${dlv:=0} -eq 0 ] && exit 0
|
||||
|
@ -133,7 +133,7 @@ if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
|
||||
true
|
||||
elif (/bin/mkdir /dev/.diskless 2> /dev/null); then
|
||||
# if /dev is writable assume it has already been populated
|
||||
# via rc.diskless1
|
||||
# via /etc/rc.d/initdiskless
|
||||
#
|
||||
rmdir /dev/.diskless
|
||||
else
|
||||
|
@ -133,7 +133,7 @@ if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
|
||||
true
|
||||
elif (/bin/mkdir /dev/.diskless 2> /dev/null); then
|
||||
# if /dev is writable assume it has already been populated
|
||||
# via rc.diskless1
|
||||
# via /etc/rc.d/initdiskless
|
||||
#
|
||||
rmdir /dev/.diskless
|
||||
else
|
||||
|
@ -133,7 +133,7 @@ if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
|
||||
true
|
||||
elif (/bin/mkdir /dev/.diskless 2> /dev/null); then
|
||||
# if /dev is writable assume it has already been populated
|
||||
# via rc.diskless1
|
||||
# via /etc/rc.d/initdiskless
|
||||
#
|
||||
rmdir /dev/.diskless
|
||||
else
|
||||
|
@ -75,8 +75,8 @@
|
||||
# /conf/default/etc/{rc.conf,rc.local,fstab}. Your fstab should be sure
|
||||
# to mount a /usr... typically an NFS readonly /usr.
|
||||
#
|
||||
# NOTE! rc.diskless2 will create /var, /tmp, and /dev. Those filesystems
|
||||
# should not be specified in /conf. At least not yet.
|
||||
# NOTE! /etc/rc.d/diskless will create /var, /tmp, and /dev.
|
||||
# Those filesystems should not be specified in /conf. At least not yet.
|
||||
|
||||
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
|
||||
[ ${dlv:=0} -eq 0 ] && exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user