diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 20:31:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 20:31:53 +0000 |
commit | a44c286fdb6478992a0d99cf886fbdb6a67ea301 (patch) | |
tree | 1ce5c0323b48da12b74cfcfb750a7f7a5307c680 /package/comgt/files/3g.button | |
parent | 0a056c9743749762a5d93463ecfd6f82137884db (diff) | |
download | master-31e0f0ae-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.gz master-31e0f0ae-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.bz2 master-31e0f0ae-a44c286fdb6478992a0d99cf886fbdb6a67ea301.zip |
nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
Diffstat (limited to 'package/comgt/files/3g.button')
-rw-r--r-- | package/comgt/files/3g.button | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/comgt/files/3g.button b/package/comgt/files/3g.button index 54997d870a..57f4286073 100644 --- a/package/comgt/files/3g.button +++ b/package/comgt/files/3g.button @@ -13,6 +13,7 @@ button_action() {( )} [ "$ACTION" = "released" -a "$BUTTON" = "3g" ] && { + HOTPLUG="$(cat /proc/sys/kernel/hotplug)" (echo /bin/true > /proc/sys/kernel/hotplug) include /lib/network @@ -31,5 +32,5 @@ button_action() {( } config_load network - (echo /sbin/hotplug > /proc/sys/kernel/hotplug) + (echo $HOTPLUG > /proc/sys/kernel/hotplug) } & |