projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
base-files
/
default
/
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