projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
when rebooting, stop the network interfaces last (just before umount) to allow servic...
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
network
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
4
START
=
40
5
STOP
=
90
6
7
boot
() {
8
setup_switch
() {
return
0
; }
9
10
include
/
lib
/
network
11
setup_switch
12
[
-s
/
etc
/
config
/
wireless
]
|| \
13
/
sbin
/
wifi detect
> /
etc
/
config
/
wireless
14
/
sbin
/
wifi up
15
}
16
17
start
() {
18
ifup
-a
19
/
sbin
/
wifi up
20
}
21
22
restart
() {
23
setup_switch
() {
return
0
; }
24
25
include
/
lib
/
network
26
setup_switch
27
ifup
-a
28
/
sbin
/
wifi up
29
}
30
31
stop
() {
32
ifdown
-a
33
}