summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/init.d
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-07 21:43:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-07 21:43:51 +0000
commit0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce (patch)
tree7c1e5a935b4fc911fa7a3a3d43bf813d7bc006b4 /target/linux/ar71xx/base-files/etc/init.d
parent54c034ae7a4356c0b8856aaa3a0f8121314cf629 (diff)
downloadmtk-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-xtarget/linux/ar71xx/base-files/etc/init.d/defconfig2
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