projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add wlan led for the TL-WR941ND
[openwrt.git]
/
package
/
comgt
/
files
/
3g.button
diff --git
a/package/comgt/files/3g.button
b/package/comgt/files/3g.button
index
54997d8
..
57f4286
100644
(file)
--- a/
package/comgt/files/3g.button
+++ b/
package/comgt/files/3g.button
@@
-13,6
+13,7
@@
button_action() {(
)}
[ "$ACTION" = "released" -a "$BUTTON" = "3g" ] && {
)}
[ "$ACTION" = "released" -a "$BUTTON" = "3g" ] && {
+ HOTPLUG="$(cat /proc/sys/kernel/hotplug)"
(echo /bin/true > /proc/sys/kernel/hotplug)
include /lib/network
(echo /bin/true > /proc/sys/kernel/hotplug)
include /lib/network
@@
-31,5
+32,5
@@
button_action() {(
}
config_load network
}
config_load network
- (echo
/sbin/hotplug
> /proc/sys/kernel/hotplug)
+ (echo
$HOTPLUG
> /proc/sys/kernel/hotplug)
} &
} &
This page took
0.024387 seconds
and
4
git commands to generate.