summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-15 07:23:28 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-15 07:23:28 +0000
commit2a86ef5abfb0be726c36ea3441e9ea14855b31c9 (patch)
tree0afb902e8c34491ecd4bd1fdb961e54e8573c2f2 /package/base-files/files
parent21479fd2fd326f1096f4f4d32f1e7eb56bcafdfb (diff)
fix ifdown hotplug event (#1576)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-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 8c36a25b4..5a98003b1 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