summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-11-29 15:38:19 +0100
committerJonathan Bauer2019-11-29 15:38:19 +0100
commit7074d3a7644ab5aa5b07abd632d179384bf9d7e0 (patch)
treee3e526aaa03322aaa5a78604103ac9ff9d8d11ca
parent[dnbd3-rootfs] add default SLX_DNBD3_IMAGE (diff)
downloadsystemd-init-7074d3a7644ab5aa5b07abd632d179384bf9d7e0.tar.gz
systemd-init-7074d3a7644ab5aa5b07abd632d179384bf9d7e0.tar.xz
systemd-init-7074d3a7644ab5aa5b07abd632d179384bf9d7e0.zip
[slx-network] default to dhcp in stage4
unless disabled by SLX_DISABLE_STAGE4_DHCP
-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