projects
/
openwrt
/
staging
/
mkresin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge aruba support
[openwrt/staging/mkresin.git]
/
openwrt
/
target
/
linux
/
package
/
base-files
/
files
/
aruba-2.6
/
etc
/
init.d
/
S40network
1
#!/bin/sh
2
.
/
etc
/
functions.sh
3
[
"
$FAILSAFE
"
!=
"true"
-a -e
/
etc
/
config
/
network
] &&
.
/
etc
/
config
/
network
4
case
"
$1
"
in
5
start|restart
)
6
ifup lan
7
ifup wan
8
ifup wifi
9
wifi up
10
11
for
route
in
$
(
nvram get static_route
);
do
{
12
eval
"set $(echo
$route
| sed 's/:/ /g')"
13
$DEBUG
route add
-net
$1
netmask
$2
gw
$3
metric
$4
dev
$5
14
}
done
15
;;
16
esac