]> git.pld-linux.org Git - packages/autofs.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:
    autofs.init -> 1.9

autofs.init

index 446e211ff9115406e290ad859c0485fd47fade63..a7cd2a0e3f925b7575723546399b2454c476d82f 100644 (file)
 [ -f /etc/sysconfig/inetd ] && . /etc/sysconfig/inetd
 
 # Check that networking is up.
-[ "${NETWORKING}" = "no" ] && echo "Error: Networking is down" && exit 0
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Autofs service can't be runed."
+       exit 1
+fi
 
 
 #      We can add local options here
This page took 0.029712 seconds and 4 git commands to generate.