mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 00:44:05 +02:00
fix ifdown hotplug event (#1576)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
21479fd2fd
commit
2a86ef5abf
@ -21,7 +21,7 @@ config_get proto "$cfg" proto
|
||||
|
||||
config_get iface "$cfg" device
|
||||
[ "$proto" = "static" ] && {
|
||||
env -i ACTION="ifdown" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
|
||||
env -i ACTION="ifdown" INTERFACE="$cfg" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
|
||||
}
|
||||
|
||||
# call interface stop handler
|
||||
|
Loading…
Reference in New Issue
Block a user