[ar71xx] add more base-files
[openwrt.git] / target / linux / ar71xx / base-files / etc / init.d / defconfig
1 #!/bin/sh /etc/rc.common
2 #
3 # Copyright (C) 2009 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 START=05
9
10 start() {
11 local board=$(ar71xx_board_name)
12
13 [ ! -d /etc/config/defaults/$board ] && board="generic"
14
15 for f in $( ls /etc/config/defaults/$board ); do
16 if [ ! -e /etc/config/$f ]; then
17 cp /etc/config/defaults/$board/$f /etc/config/
18 fi
19 done
20 }
This page took 0.050253 seconds and 5 git commands to generate.