aboutsummaryrefslogtreecommitdiffstats
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
commit23e7014185619c4b46ee716b78c88586af2414c8 (patch)
tree5430adf871139e72e5c6fa085cbf3096125aca75 /target/linux/ar71xx/base-files/etc/init.d
parent1c203e5ff8c67267ff8851024f5036d4a4934533 (diff)
downloadmaster-187ad058-23e7014185619c4b46ee716b78c88586af2414c8.tar.gz
master-187ad058-23e7014185619c4b46ee716b78c88586af2414c8.tar.bz2
master-187ad058-23e7014185619c4b46ee716b78c88586af2414c8.zip
ar71xx: create generic network config from an uci-defaults script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28817 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9fdfd6f899..364fa4a6a5 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