mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
4f16e9cc3e
SVN-Revision: 7643
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"
|
|
}
|
|
}
|