]> git.pld-linux.org Git - packages/autofs.git/blobdiff - autofs.init
- fixed requires (PR#28)
[packages/autofs.git] / 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.02905 seconds and 4 git commands to generate.