fix ifdown hotplug event (#1576)

SVN-Revision: 6950
lede-17.01
Felix Fietkau 2007-04-15 07:23:28 +00:00
parent 6d47d3ae11
commit 5f4b17b53f
1 changed files with 1 additions and 1 deletions

View File

@ -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