summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:08 +0000
commitea06a67eac000f3e793ddcb945cbdf222a32c7e0 (patch)
tree3a31d3bab6d814d6adff55c7478ecca004c0d50a /package/base-files/files/etc
parent6efb515be1251b3a6dbb3ac1547070f8e57e68da (diff)
downloadmtk-20170518-ea06a67eac000f3e793ddcb945cbdf222a32c7e0.zip
mtk-20170518-ea06a67eac000f3e793ddcb945cbdf222a32c7e0.tar.gz
mtk-20170518-ea06a67eac000f3e793ddcb945cbdf222a32c7e0.tar.bz2
base-files: use uci_get() wrapper (#7312)
SVN-Revision: 21490
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/hotplug.d/net/10-net2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files/files/etc/hotplug.d/net/10-net
index ef59004..42ff29e 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files/files/etc/hotplug.d/net/10-net
@@ -46,7 +46,7 @@ delif() {
for ifc in $interfaces; do
config_get iftype "$ifc" type
config_get ifs "$ifc" device
- confdevs="$(uci get network.$ifc.ifname)"
+ confdevs="$(uci_get network.$ifc.ifname)"
for dev in $ifs; do
[ "${dev%%\.*}" = "$INTERFACE" ] && {
list_contains confdevs "$dev" || list_remove ifs "$dev"