board/common: don't change link status of interface

After some discussion we agreed that this operation is the domain of
confd (or dagger) and any DHCP client should not mess with the admin
state of the interface it runs on.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-11-18 18:11:35 +01:00
parent 635ebeb29b
commit 548e0c4881
2 changed files with 0 additions and 2 deletions
@@ -104,7 +104,6 @@ case "$ACTION" in
deconfig)
clr_dhcp_addresses
clr_dhcp_routes
/bin/ip link set dev $interface up
# drop info from this interface
rm -f "$RESOLV_CONF"
@@ -45,7 +45,6 @@ log "action $ACTION"
case "$ACTION" in
deconfig)
clr_dhcpv6_addresses
/bin/ip link set dev $interface up
# drop info from this interface
rm -f "$RESOLV_CONF"