1 #!/bin/sh /etc/rc.common
3 # Copyright (C) 2009 OpenWrt.org
9 local board
=$
(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc
/cpuinfo
)
11 [ ! -d /etc
/defconfig
/$board ] && board
="generic"
13 for f
in $
( ls /etc
/defconfig
/$board ); do
14 if [ ! -e /etc
/config
/$f ]; then
15 cp /etc
/defconfig
/$board/$f /etc
/config
/
This page took 0.045181 seconds and 5 git commands to generate.