Skip to content

Commit 548e0c4

Browse files
committed
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 <[email protected]>
1 parent 635ebeb commit 548e0c4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

board/common/rootfs/usr/share/udhcpc/default.script

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ case "$ACTION" in
104104
deconfig)
105105
clr_dhcp_addresses
106106
clr_dhcp_routes
107-
/bin/ip link set dev $interface up
108107

109108
# drop info from this interface
110109
rm -f "$RESOLV_CONF"

board/common/rootfs/usr/share/udhcpc/default6.script

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ log "action $ACTION"
4545
case "$ACTION" in
4646
deconfig)
4747
clr_dhcpv6_addresses
48-
/bin/ip link set dev $interface up
4948

5049
# drop info from this interface
5150
rm -f "$RESOLV_CONF"

0 commit comments

Comments
 (0)