From: Derek Atkins Date: Wed, 31 Jul 2002 23:41:54 +0000 (+0000) Subject: STABLE12-linux-start-if-dynroot-even-if-no-network-20020731 X-Git-Tag: openafs-stable-1_2_6~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cfdbdf922726887c3bc7dd8745ba2101348ec487;p=packages%2Fo%2Fopenafs.git STABLE12-linux-start-if-dynroot-even-if-no-network-20020731 if we start with dynroot, dont worry if we have net or not (cherry picked from commit aea332588be791dd79c467e727621be382d18a21) --- diff --git a/src/afsd/afs.rc.linux b/src/afsd/afs.rc.linux index fb1c58773..c93f32c27 100644 --- a/src/afsd/afs.rc.linux +++ b/src/afsd/afs.rc.linux @@ -223,7 +223,9 @@ choose_afsdoptions() { case "$1" in start) if [ ! "$afs_rh" -o ! -f /var/lock/subsys/afs ]; then - on_network || exit 1 + if [ `echo "$OPTIONS" | grep -c dynroot` = 0 ]; then + on_network || exit 1 + fi # Load kernel extensions if load_client ; then : else