Root/target/linux/brcm63xx/base-files/etc/init.d/defconfig

1#!/bin/sh /etc/rc.common
2#
3# Copyright (C) 2009 OpenWrt.org
4#
5
6START=05
7
8start() {
9    . /lib/brcm63xx.sh
10
11    [ ! -d /etc/defconfig/$board_name ] && board_name="generic"
12
13    for f in $( ls /etc/defconfig/$board_name ); do
14        if [ ! -e /etc/config/$f ]; then
15            cp /etc/defconfig/$board_name/$f /etc/config/
16        fi
17    done
18}
19

Archive Download this file



interactive