mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 07:33:01 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user