From 86fe3b99eb29b8d70d69cd8447590c5e48bcff2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 19 Nov 2009 21:26:30 +0000 Subject: [PATCH] - skip if appropriate network family is disabled Changed files: dhcp.init -> 1.26 dhcp6.init -> 1.10 --- dhcp.init | 2 +- dhcp6.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dhcp.init b/dhcp.init index 064c82a..cf5b726 100644 --- 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 diff --git a/dhcp6.init b/dhcp6.init index a2b978f..f378ee3 100644 --- a/dhcp6.init +++ b/dhcp6.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 "${IPV6_NETWORKING}"; then if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then msg_network_down "DHCP IPv6 Server" exit 1 -- 2.44.0