]> git.pld-linux.org Git - packages/exim-lite.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:
    exim.init -> 1.5

exim.init

index 511875a80982ee85eb4bdb57720ced1c98b5946e..feb138664f17215850a3364d584de6f43ad8f9b8 100644 (file)
--- a/exim.init
+++ b/exim.init
 # Get network config
 . /etc/sysconfig/network
 
-
 # Get service config
-if [ -f /etc/sysconfig/exim ]; then
-       . /etc/sysconfig/exim
+if [ -f /etc/sysconfig/hc-cron ]; then
+       . /etc/sysconfig/hc-cron
 else
        DAEMON=yes
        QUEUE=1h
 fi
 
 # Check that networking is up.
-[ "${NETWORKING}" = "no" ] && echo "Error: Networking is down" && exit 0
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Exim service can't be runed."
+       exit 1
+fi
 
 
 # See how we were called.
This page took 0.066154 seconds and 4 git commands to generate.