From: Gabor Juhos Date: Mon, 15 Mar 2010 13:29:16 +0000 (+0000) Subject: ar71xx: fix defconfig script to work with ImageBuilder X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0095ab73f31ba7a21c9538b89b910ff2d6e1a98b;p=openwrt%2Fstaging%2Fzorun.git ar71xx: fix defconfig script to work with ImageBuilder * patch from #5722 SVN-Revision: 20231 --- diff --git a/target/linux/ar71xx/base-files/etc/init.d/defconfig b/target/linux/ar71xx/base-files/etc/init.d/defconfig index 856d375829..9fdfd6f899 100755 --- a/target/linux/ar71xx/base-files/etc/init.d/defconfig +++ b/target/linux/ar71xx/base-files/etc/init.d/defconfig @@ -3,11 +3,11 @@ # Copyright (C) 2009 OpenWrt.org # -. /lib/ar71xx.sh - START=05 start() { + . /lib/ar71xx.sh + local board=$(ar71xx_board_name) [ ! -d /etc/defconfig/$board ] && board="generic"