You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
[ -d "/etc/board.d/" -a ! -f "/etc/board.json" ] && {
|
|
for a in `ls /etc/board.d/*`; do
|
|
[ -x $a ] || continue;
|
|
$(. $a)
|
|
done
|
|
}
|
|
|
|
[ -f "/etc/board.json" ] || return 1
|
|
[ -f "/etc/config/network" ] || {
|
|
touch /etc/config/network
|
|
/bin/config_generate
|
|
}
|
|
|