diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-17 19:34:08 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-17 19:34:08 +0000 |
commit | 6a7755ee8f7f67fab5a57d2a69236cb1bcfd550f (patch) | |
tree | a81341a8765a8808cbf2c280d2262c5be5cd1a22 /package/base-files/files/usr/share/udhcpc | |
parent | 87d2c422466c7f3e783f9a430c2824e5619868ba (diff) |
[package] base-files: use uci_get() wrapper (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/usr/share/udhcpc')
-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 b32b2c9f25..ceabf4bf3a 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 |