summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-09 15:21:34 +0200
committerSimon Rettberg2022-05-09 15:21:34 +0200
commitb95d7033c023f61e5fce36446ac70724b3bfc3b7 (patch)
tree429b5825da8b41a817ab7a2c88c20d9dd0f40fed /core/modules/dhcpc-busybox
parent[dhcpc-busybox] Introduce SLX_DHCP_OTHER_NICS (diff)
downloadmltk-b95d7033c023f61e5fce36446ac70724b3bfc3b7.tar.gz
mltk-b95d7033c023f61e5fce36446ac70724b3bfc3b7.tar.xz
mltk-b95d7033c023f61e5fce36446ac70724b3bfc3b7.zip
[dhcpc-busybox] DHCP: Take iface up
Diffstat (limited to 'core/modules/dhcpc-busybox')
-rwxr-xr-xcore/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics
index a811d079..f508257f 100755
--- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics
+++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics
@@ -78,6 +78,7 @@ for nic in /sys/class/net/*; do
if [ "$SLX_DHCP_OTHER_NICS" = "yes" ]; then
# DHCP.
echo "Starting DHCP service for ${ifname}..."
+ ip link set dev "${ifname}" up
systemctl --no-block start "dhcpc@${ifname}.service"
fi
done