mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-10-23 18:14:26 -04:00
7 lines
157 B
Plaintext
7 lines
157 B
Plaintext
[ ifup = "$ACTION" ] && {
|
|
uci set "/var/state/network.$INTERFACE.up=1"
|
|
[ -z "$DEVICE" ] || {
|
|
uci set "/var/state/network.$INTERFACE.ifname=$DEVICE"
|
|
}
|
|
}
|