]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp.init
- prevent dhcpd putting 8-byte dhcp-lease-time option in packets, from FC
[packages/dhcp.git] / dhcp.init
index 4e1bd98b39ab77f4bcf117150d049d8b01bbf19e..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 ]; 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.028157 seconds and 4 git commands to generate.