From 7074d3a7644ab5aa5b07abd632d179384bf9d7e0 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 29 Nov 2019 15:38:19 +0100 Subject: [slx-network] default to dhcp in stage4 unless disabled by SLX_DISABLE_STAGE4_DHCP --- builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-55-g7522