]> git.pld-linux.org Git - packages/pdns.git/commitdiff
- allow some actions when network is down
authorankry <ankry@pld-linux.org>
Thu, 3 Jul 2003 21:01:51 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdns.init -> 1.7

pdns.init

index 9b17635d4fcdd04efa6ce0b69aa3ebd0caf34422..8d6e0cf999dbbc5dea34c7918bc7375647123c66 100644 (file)
--- a/pdns.init
+++ b/pdns.init
@@ -14,7 +14,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network ]; then
+       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
                msg_network_down "PowerDNS"
                exit 1
        fi
This page took 0.192624 seconds and 4 git commands to generate.