From: Hauke Mehrtens Date: Fri, 29 Jan 2010 20:30:21 +0000 (+0000) Subject: preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=292b9782cd8eb40d958545d645527e02b30afcf5;p=openwrt%2Fstaging%2Fblocktrron.git preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored SVN-Revision: 19384 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 37b7d77925..9260a1b24b 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -765,7 +765,7 @@ sub gen_package_mk() { $cmds \\ ) > \$@ -ifneq (\$(UCI_PRECONFIG)\$(CONFIG_UCI_PRECONFIG),) +ifneq (\$(IMAGEOPT)\$(CONFIG_IMAGEOPT),) package/preconfig: \$(TARGET_DIR)/etc/uci-defaults/$preconfig endif EOF