[package] add Marvell orion watchdog timer module
[openwrt.git] / target / linux / brcm63xx / base-files / etc / init.d / defconfig
1 #!/bin/sh /etc/rc.common
2 #
3 # Copyright (C) 2009 OpenWrt.org
4 #
5
6 START=05
7
8 start() {
9 local board=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
10
11 [ ! -d /etc/defconfig/$board ] && board="generic"
12
13 for f in $( ls /etc/defconfig/$board ); do
14 if [ ! -e /etc/config/$f ]; then
15 cp /etc/defconfig/$board/$f /etc/config/
16 fi
17 done
18 }
This page took 0.045181 seconds and 5 git commands to generate.