diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-15 07:23:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-15 07:23:28 +0000 |
commit | b1f2b254cb4cd93685fe939b9e46d5c3862d2faa (patch) | |
tree | 0afb902e8c34491ecd4bd1fdb961e54e8573c2f2 | |
parent | 4766914d701eb5e15f411752a68dbfd1d1ee74e7 (diff) | |
download | upstream-b1f2b254cb4cd93685fe939b9e46d5c3862d2faa.tar.gz upstream-b1f2b254cb4cd93685fe939b9e46d5c3862d2faa.tar.bz2 upstream-b1f2b254cb4cd93685fe939b9e46d5c3862d2faa.zip |
fix ifdown hotplug event (#1576)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/base-files/files/sbin/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index 8c36a25b48..5a98003b1d 100755 --- a/package/base-files/files/sbin/ifdown +++ b/package/base-files/files/sbin/ifdown @@ -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 |