1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:30:37 +02:00

[backfire] merge r23211

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23212 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-10-04 00:08:54 +00:00
parent 111e70d612
commit fe1eb77196
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=43.4 PKG_RELEASE:=43.5
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host PKG_BUILD_DEPENDS:=opkg/host

View File

@ -41,8 +41,8 @@ setup_interface () {
# Default Route # Default Route
[ -n "$ifc" ] && { [ -n "$ifc" ] && {
change_state network "$ifc" lease_gateway "$router" change_state network "$ifc" lease_gateway "$router"
config_get old_router "$ifc" gateway old_router="$(uci_get_state network "$ifc" gateway)"
user_router=$(uci_get "network.$ifc.gateway") user_router="$(uci_get network "$ifc" gateway)"
[ -n "$user_router" ] && router="$user_router" [ -n "$user_router" ] && router="$user_router"
} }