diff options
author | Karsten Hopp <karsten@redhat.com> | 2001-05-21 09:00:35 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2001-05-21 09:00:35 +0000 |
commit | c53b07fd6a283da7aca1d563002e003e2205a71f (patch) | |
tree | 7a7c56fa276b440c2f5286c64b6fecfad3c9961e /rc.d | |
parent | 69bf72b40bcd4c9e372ae33eb7267ee940bfdfe8 (diff) | |
download | initscripts-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-x | rc.d/init.d/netfs | 2 | ||||
-rwxr-xr-x | rc.d/init.d/network | 2 |
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 |