diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-17 19:34:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-17 19:34:08 +0000 |
commit | ea06a67eac000f3e793ddcb945cbdf222a32c7e0 (patch) | |
tree | 3a31d3bab6d814d6adff55c7478ecca004c0d50a /package/base-files/files/usr | |
parent | 6efb515be1251b3a6dbb3ac1547070f8e57e68da (diff) | |
download | mtk-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/usr')
-rwxr-xr-x | package/base-files/files/usr/share/udhcpc/default.script | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index b32b2c9..ceabf4b 100755 --- a/package/base-files/files/usr/share/udhcpc/default.script +++ b/package/base-files/files/usr/share/udhcpc/default.script @@ -11,11 +11,6 @@ change_state () { uci_set_state "$1" "$2" "$3" "$4" } -uci_get() { - [ -n "$ifc" ] || return - uci -P /dev/null get "$1" 2>/dev/null -} - setup_interface () { local old_ip local old_broadcast |