aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-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 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"