aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base')
-rw-r--r--target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base b/target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base
new file mode 100644
index 0000000..a49c327
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/init.d/.svn/text-base/defconfig.svn-base
@@ -0,0 +1,18 @@
+#!/bin/sh /etc/rc.common
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+
+START=05
+
+start() {
+ . /lib/brcm63xx.sh
+
+ [ ! -d /etc/defconfig/$board_name ] && board_name="generic"
+
+ for f in $( ls /etc/defconfig/$board_name ); do
+ if [ ! -e /etc/config/$f ]; then
+ cp /etc/defconfig/$board_name/$f /etc/config/
+ fi
+ done
+}