X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5a829455cb922742a6e02c7e3200d3395fd75383..8b4aee843bbd9d4e87e2c63b9c6d9d34c142a272:/target/linux/ar71xx/base-files/etc/init.d/defconfig diff --git a/target/linux/ar71xx/base-files/etc/init.d/defconfig b/target/linux/ar71xx/base-files/etc/init.d/defconfig index 856d37582..364fa4a6a 100755 --- a/target/linux/ar71xx/base-files/etc/init.d/defconfig +++ b/target/linux/ar71xx/base-files/etc/init.d/defconfig @@ -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