ar71xx: create generic network config from an uci-defaults script
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / init.d / defconfig
index 9fdfd6f899e90707baab36b8430451dfdaf7e79b..364fa4a6a52648e6d06293f337103583105a76ba 100755 (executable)
@@ -10,7 +10,7 @@ start() {
 
        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