summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules.d/slx-network/hooks/activate-bootif-dhcp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-network/hooks/activate-bootif-dhcp.sh b/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
index dd48c911..7a7d797d 100644
--- a/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
+++ b/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
@@ -4,7 +4,7 @@
# within stage4, unless specifically disabled by SLX_STAGE4_DHCP
. /etc/openslx
-if [ -n "$SLX_DISABLE_STAGE4_DHCP" ]; then
+if [ "$SLX_STAGE4_DHCP" = "yes" ]; then
mkdir -p "${NEWROOT}/opt/openslx/scripts"
for script in setup-bootif-network udhcpc-trigger; do
if [ -e "${NEWROOT}/opt/openslx/scripts/${script}" ]; then