summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/init.d/defconfig
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:51 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:51 +0000
commit7a36f263beb1cfbd732e1f40e5e8ff8d5bb1f721 (patch)
tree5430adf871139e72e5c6fa085cbf3096125aca75 /target/linux/ar71xx/base-files/etc/init.d/defconfig
parent650912aa45f5d28abb7c45f306e40ce28bd65f7a (diff)
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/defconfig')
-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