summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-15 13:29:16 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-15 13:29:16 +0000
commitfc27cddc24ef39bf4cc726ca96048d2203622265 (patch)
tree25785e24d3b4842e2b591679f5780b460f62cb08 /target/linux/ar71xx
parent2bc9c0b6e304ca8cc4fa17f6b8c0a2fe13e46013 (diff)
ar71xx: fix defconfig script to work with ImageBuilder
* patch from #5722 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20231 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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 856d37582..9fdfd6f89 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"