]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- skip if appropriate network family is disabled
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Nov 2009 21:26:30 +0000 (21:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcp.init -> 1.26
    dhcp6.init -> 1.10

dhcp.init
dhcp6.init

index 064c82a1af08c3e11a4d7e601e03bb3684c76edc..cf5b726f88b7078b5cf7f5df657f729a4230c031 100644 (file)
--- a/dhcp.init
+++ b/dhcp.init
@@ -14,7 +14,7 @@
 [ -f /etc/sysconfig/dhcpd ] && . /etc/sysconfig/dhcpd
 
 # Check that networking is up.
-if is_yes "${NETWORKING}"; then
+if is_yes "${IPV4_NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                msg_network_down "DHCP Server"
                exit 1
index a2b978fef4b274355c0a9aaa1837a874e3f8bc1e..f378ee33c226c4e70ba45efe91e314716111d073 100644 (file)
@@ -14,7 +14,7 @@
 [ -f /etc/sysconfig/dhcpd ] && . /etc/sysconfig/dhcpd
 
 # Check that networking is up.
-if is_yes "${NETWORKING}"; then
+if is_yes "${IPV6_NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                msg_network_down "DHCP IPv6 Server"
                exit 1
This page took 0.08003 seconds and 4 git commands to generate.