aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/netfs
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2001-05-21 09:00:35 +0000
committerKarsten Hopp <karsten@redhat.com>2001-05-21 09:00:35 +0000
commitc53b07fd6a283da7aca1d563002e003e2205a71f (patch)
tree7a7c56fa276b440c2f5286c64b6fecfad3c9961e /rc.d/init.d/netfs
parent69bf72b40bcd4c9e372ae33eb7267ee940bfdfe8 (diff)
downloadinitscripts-c53b07fd6a283da7aca1d563002e003e2205a71f.tar
initscripts-c53b07fd6a283da7aca1d563002e003e2205a71f.tar.gz
initscripts-c53b07fd6a283da7aca1d563002e003e2205a71f.tar.bz2
initscripts-c53b07fd6a283da7aca1d563002e003e2205a71f.tar.xz
initscripts-c53b07fd6a283da7aca1d563002e003e2205a71f.zip
supress error messages if NETWORKING ist undefinedr5-87
Diffstat (limited to 'rc.d/init.d/netfs')
-rwxr-xr-xrc.d/init.d/netfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 97a46d1b..2f3c1c1f 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -20,7 +20,7 @@ fi
. /etc/sysconfig/network
# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0
+[ "${NETWORKING}" = "no" ] && exit 0
NFSFSTAB=`grep -v '^#' /etc/fstab | awk '{ if ($3 ~ /^nfs$/ && $4 !~ /noauto/) print $2}'`
SMBFSTAB=`grep -v '^#' /etc/fstab | awk '{ if ($3 ~ /^smbfs$/ && $4 !~ /noauto/) print $2}'`