aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-15 07:23:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-15 07:23:28 +0000
commitb1f2b254cb4cd93685fe939b9e46d5c3862d2faa (patch)
tree0afb902e8c34491ecd4bd1fdb961e54e8573c2f2
parent4766914d701eb5e15f411752a68dbfd1d1ee74e7 (diff)
downloadupstream-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-xpackage/base-files/files/sbin/ifdown2
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