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 if [ "$board" = "96358VW" ] && [ -e /proc
/switch
/eth
1/enable ]; then
15 [ ! -d /etc
/defconfig
/$board ] && board
="generic"
17 for f
in $
( ls /etc
/defconfig
/$board ); do
18 if [ ! -e /etc
/config
/$f ]; then
19 cp /etc
/defconfig
/$board/$f /etc
/config
/
This page took 0.047597 seconds and 5 git commands to generate.