]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- fixed previous change
authorankry <ankry@pld-linux.org>
Mon, 7 Jul 2003 00:22:46 +0000 (00:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcp-relay.init -> 1.16
    dhcp.init -> 1.13

dhcp-relay.init
dhcp.init

index 98a2dfbd7be8315ffe4fa6c58900ef8bc9345490..d6e3f1e4cdfa6eaaaa407ca32d723cfe91014556 100644 (file)
@@ -15,7 +15,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                msg_network_down "DHCP realay"
                exit 1
        fi
index 5eedcb3b78ba73a96d4733c312a14c2a466b1f3d..c06ae4b348a7aa02a26541577ee10c9b7f82f232 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 -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                msg_network_down DHCPD
                exit 1
        fi
This page took 0.039625 seconds and 4 git commands to generate.