projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[backfire] add /etc/openwrt_release & /etc/openwrt_version files
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
network
diff --git
a/package/base-files/files/etc/init.d/network
b/package/base-files/files/etc/init.d/network
index b63ed0b850a939d39980239c8d580aaea94343f2..3587c24aaa87e50cd46ab158f39c9e2f99d5e6c9 100755
(executable)
--- a/
package/base-files/files/etc/init.d/network
+++ b/
package/base-files/files/etc/init.d/network
@@
-2,7
+2,7
@@
# Copyright (C) 2006 OpenWrt.org
START=40
# Copyright (C) 2006 OpenWrt.org
START=40
-STOP=
4
0
+STOP=
9
0
boot() {
setup_switch() { return 0; }
boot() {
setup_switch() { return 0; }
@@
-11,16
+11,10
@@
boot() {
setup_switch
[ -s /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
setup_switch
[ -s /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
- ifup -a
/sbin/wifi up
}
start() {
/sbin/wifi up
}
start() {
- ifup -a
- /sbin/wifi up
-}
-
-restart() {
setup_switch() { return 0; }
include /lib/network
setup_switch() { return 0; }
include /lib/network
@@
-32,3
+26,7
@@
restart() {
stop() {
ifdown -a
}
stop() {
ifdown -a
}
+
+restart() {
+ start
+}