summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/init.d')
-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"