summaryrefslogtreecommitdiff
path: root/package/base-files/default/lib/network/config.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-09 22:11:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-09 22:11:11 +0000
commit57f2868c3d1798bedd54f59eb1c78ba09f5573d5 (patch)
treecb783c0e139b4024871cef03a7a8344ecc8f2836 /package/base-files/default/lib/network/config.sh
parent1dc538c39a98a51653671cdb3ac9837922e30e2f (diff)
downloadmtk-20170518-57f2868c3d1798bedd54f59eb1c78ba09f5573d5.zip
mtk-20170518-57f2868c3d1798bedd54f59eb1c78ba09f5573d5.tar.gz
mtk-20170518-57f2868c3d1798bedd54f59eb1c78ba09f5573d5.tar.bz2
fix ifup hotplug event for static
SVN-Revision: 5489
Diffstat (limited to 'package/base-files/default/lib/network/config.sh')
-rwxr-xr-xpackage/base-files/default/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh
index 502377b..32558de 100755
--- a/package/base-files/default/lib/network/config.sh
+++ b/package/base-files/default/lib/network/config.sh
@@ -122,7 +122,7 @@ setup_interface() {
done
}
- env -i ACTION="ifup" INTERFACE="config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
+ env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
;;
dhcp)
# prevent udhcpc from starting more than once