merge r23211
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 4 Oct 2010 00:08:54 +0000 (00:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 4 Oct 2010 00:08:54 +0000 (00:08 +0000)
SVN-Revision: 23212

package/base-files/Makefile
package/base-files/files/usr/share/udhcpc/default.script

index 6c57afda169c201df58c41528d8af839ff8e62ea..ab60557f5e90f28bf19eb90b5d49669f0a81672b 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=43.4
+PKG_RELEASE:=43.5
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 PKG_BUILD_DEPENDS:=opkg/host
index 92e3474bddc7878b1935e4a3cba45d62e85593da..708f847839f79985c283eae2ce8a771a37e53f96 100755 (executable)
@@ -41,8 +41,8 @@ setup_interface () {
        # Default Route
        [ -n "$ifc" ] && {
                change_state network "$ifc" lease_gateway "$router"
-               config_get old_router "$ifc" gateway
-               user_router=$(uci_get "network.$ifc.gateway")
+               old_router="$(uci_get_state network "$ifc" gateway)"
+               user_router="$(uci_get network "$ifc" gateway)"
                [ -n "$user_router" ] && router="$user_router"
        }