summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh')
-rw-r--r--builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh b/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
index f5345c61..0f4f332f 100644
--- a/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
+++ b/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
@@ -4,7 +4,7 @@
# within stage4, unless specifically disabled by SLX_STAGE4_DHCP
. /etc/openslx
-[ -n "$SLX_STAGE4_DHCP" ] || exit 0
+[ -n "$SLX_DISABLE_STAGE4_DHCP" ] && exit 0
for script in setup-bootif-network udhcpc-trigger; do
if [ -e "${NEWROOT}/opt/openslx/scripts/${script}" ]; then