diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-04 00:07:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-04 00:07:07 +0000 |
commit | 0fda5f750739ac512b6522575ab3fd6b257af387 (patch) | |
tree | 5f71eee45695bafe9b3178e6e61cc8c0a4eb8d13 /package/base-files/Makefile | |
parent | 7eb2c8959cec9160969468653623f3c0c9aa0f54 (diff) | |
download | mtk-20170518-0fda5f750739ac512b6522575ab3fd6b257af387.zip mtk-20170518-0fda5f750739ac512b6522575ab3fd6b257af387.tar.gz mtk-20170518-0fda5f750739ac512b6522575ab3fd6b257af387.tar.bz2 |
base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes.
SVN-Revision: 23211
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index b8ff8dd..1f510df 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=56 +PKG_RELEASE:=57 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host |