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

dnsmasq.init

index 00a4122988d43e0a5cd2eb5163bce1ffbbdb17ab..8537e466e3431f5f1070c4860d98b8be8109fa53 100644 (file)
@@ -21,7 +21,7 @@ CMD=$SERVICE
 
 # 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 $MSG
                exit 1
        fi
This page took 0.07541 seconds and 4 git commands to generate.