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

postfix.init

index 245154a6d00cffcc9ce2a9e714e2a79ce92d2e40..95dcad64fc41cb1a80469236750d599e0aec7ec8 100644 (file)
 # Get service config
 [ -f /etc/sysconfig/postfix ] && . /etc/sysconfig/postfix
 
+# Check that networking is up.
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Postfix service can't be runed."
+       exit 1
+fi
+
 # See how we were called.
 case "$1" in
   start)
This page took 0.157503 seconds and 4 git commands to generate.