aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
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
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')
-rwxr-xr-xrc.d/init.d/netfs2
-rwxr-xr-xrc.d/init.d/network2
2 files changed, 2 insertions, 2 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}'`
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 5407b878..21df2eb5 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -22,7 +22,7 @@ fi
# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0
+[ "${NETWORKING}" = "no" ] && exit 0
[ -x /sbin/ifconfig ] || exit 0