]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- fix in checking is netforking is up.
authorkloczek <kloczek@pld-linux.org>
Thu, 5 Aug 1999 20:53:33 +0000 (20:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs.init -> 1.6

nfs.init

index 91f3a0ec44d22eeecca8753243d7390b2b1a24ad..47c79f51b209639a7f255f82dff7ffd29f66d029 100644 (file)
--- a/nfs.init
+++ b/nfs.init
 [ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
 
 # Check that networking is up.
-[ "${NETWORKING}" = "no" ] && echo "Error: Networking is down" && exit 0
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Nfs service can't be runed."
+       exit 1
+fi
 
 # Sanity check
 [ -f /etc/exports ] || exit 0
This page took 0.131424 seconds and 4 git commands to generate.