[scripts] env: colorize git output
[openwrt.git] / target / linux / ar71xx / base-files / etc / init.d / defconfig
index 856d375..364fa4a 100755 (executable)
@@ -3,14 +3,14 @@
 # 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"
+       [ ! -d /etc/defconfig/$board ] && return 0
 
        for f in $( ls /etc/defconfig/$board ); do
                if [ ! -e /etc/config/$f ]; then
This page took 0.020599 seconds and 4 git commands to generate.