linux-start-if-dynroot-even-if-no-network-20020731

if we start with dynroot, dont worry if we have net or not
This commit is contained in:
Derek Atkins 2002-07-31 23:41:02 +00:00 committed by Derrick Brashear
parent 6c5439b809
commit aea332588b

View File

@ -229,7 +229,9 @@ choose_afsdoptions() {
case "$1" in
start)
if [ ! "$afs_rh" -o ! -f /var/lock/subsys/afs ]; then
if [ `echo "$OPTIONS" | grep -c dynroot` = 0 ]; then
on_network || exit 1
fi
# Load kernel extensions
if load_client ; then :
else