]> git.pld-linux.org Git - packages/exim-lite.git/commitdiff
- fix get service config,
authorkloczek <kloczek@pld-linux.org>
Sat, 31 Jul 1999 00:36:16 +0000 (00:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add checking netwirking.

Changed files:
    exim.init -> 1.4

exim.init

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