diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:51 +0000 |
commit | 0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce (patch) | |
tree | 7c1e5a935b4fc911fa7a3a3d43bf813d7bc006b4 /target/linux/ar71xx/base-files/etc/init.d | |
parent | 54c034ae7a4356c0b8856aaa3a0f8121314cf629 (diff) | |
download | mtk-20170518-0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce.zip mtk-20170518-0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce.tar.gz mtk-20170518-0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce.tar.bz2 |
ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/init.d')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/init.d/defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/init.d/defconfig b/target/linux/ar71xx/base-files/etc/init.d/defconfig index 9fdfd6f..364fa4a 100755 --- a/target/linux/ar71xx/base-files/etc/init.d/defconfig +++ b/target/linux/ar71xx/base-files/etc/init.d/defconfig @@ -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 |