summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-15 13:29:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-15 13:29:16 +0000
commit0095ab73f31ba7a21c9538b89b910ff2d6e1a98b (patch)
treedb0ca91b5f32228db6806c9d02d59e13ce6816dd /target/linux
parent5da6ae3ab513c86487fed935f85532dfed8ffdf9 (diff)
downloadmtk-20170518-0095ab73f31ba7a21c9538b89b910ff2d6e1a98b.zip
mtk-20170518-0095ab73f31ba7a21c9538b89b910ff2d6e1a98b.tar.gz
mtk-20170518-0095ab73f31ba7a21c9538b89b910ff2d6e1a98b.tar.bz2
ar71xx: fix defconfig script to work with ImageBuilder
* patch from #5722 SVN-Revision: 20231
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/init.d/defconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/init.d/defconfig b/target/linux/ar71xx/base-files/etc/init.d/defconfig
index 856d375..9fdfd6f 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"