From ea06a67eac000f3e793ddcb945cbdf222a32c7e0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:34:08 +0000 Subject: base-files: use uci_get() wrapper (#7312) SVN-Revision: 21490 --- package/base-files/files/usr/share/udhcpc/default.script | 5 ----- 1 file changed, 5 deletions(-) (limited to 'package/base-files/files/usr') 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 -- cgit v1.2.3