summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-10-06 10:13:10 +0200
committerJonathan Bauer2020-10-06 10:13:10 +0200
commit5d24ca74535761b9137f47a25f6048a67201f689 (patch)
tree58bd07e9f61deb62aee4edfe050395017a8e8a8c
parent[slx-network] support for SLX_JUMBO_FRAMES (diff)
downloadsystemd-init-5d24ca74535761b9137f47a25f6048a67201f689.tar.gz
systemd-init-5d24ca74535761b9137f47a25f6048a67201f689.tar.xz
systemd-init-5d24ca74535761b9137f47a25f6048a67201f689.zip
SLX_STAGE4_DHCP now needs to be explicitely set to 'yes' to activate the busybox based dhcp client in stage4.
-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