mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Changes on netifd and modemmanager to use the defaultroute setting
This commit is contained in:
parent
90e0c41dc6
commit
571d37e147
23 changed files with 1918 additions and 0 deletions
6
netifd/files/etc/hotplug.d/iface/00-netstate
Normal file
6
netifd/files/etc/hotplug.d/iface/00-netstate
Normal file
|
@ -0,0 +1,6 @@
|
|||
[ ifup = "$ACTION" ] && {
|
||||
uci_toggle_state network "$INTERFACE" up 1
|
||||
[ -n "$DEVICE" ] && {
|
||||
uci_toggle_state network "$INTERFACE" ifname "$DEVICE"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue