]> git.pld-linux.org Git - packages/dhcp.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:
    dhcp-relay.init -> 1.15
    dhcp.init -> 1.12

dhcp-relay.init
dhcp.init

index 214f7ad6d6a76c64986d0870760819eb1740f66e..98a2dfbd7be8315ffe4fa6c58900ef8bc9345490 100644 (file)
@@ -15,7 +15,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 "DHCP realay"
                exit 1
        fi
index 4e1bd98b39ab77f4bcf117150d049d8b01bbf19e..5eedcb3b78ba73a96d4733c312a14c2a466b1f3d 100644 (file)
--- a/dhcp.init
+++ b/dhcp.init
@@ -15,7 +15,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 DHCPD
                exit 1
        fi
This page took 0.121844 seconds and 4 git commands to generate.