summaryrefslogtreecommitdiff
path: root/package/base-files/files
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
commit5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb (patch)
tree9def464c243af47f72eca9513afa37db7784e2cf /package/base-files/files
parent6d47d3ae113d075caa641852409972386aa6ebd7 (diff)
downloadmtk-20170518-5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb.zip
mtk-20170518-5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb.tar.gz
mtk-20170518-5f4b17b53f67c499b51b0178eb3d9e1dbaeda4bb.tar.bz2
fix ifdown hotplug event (#1576)
SVN-Revision: 6950
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 8c36a25..5a98003 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