preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 29 Jan 2010 20:30:21 +0000 (20:30 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 29 Jan 2010 20:30:21 +0000 (20:30 +0000)
SVN-Revision: 19384

scripts/metadata.pl

index 37b7d77925b753fb7e77e7d42903b30fa8b56279..9260a1b24bdcf7709b74ed1a386b1a503daf7e85 100755 (executable)
@@ -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