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 | |
parent | 0a056c9743749762a5d93463ecfd6f82137884db (diff) | |
download | mtk-20170518-a44c286fdb6478992a0d99cf886fbdb6a67ea301.zip mtk-20170518-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.gz mtk-20170518-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.bz2 |
nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
Diffstat (limited to 'package/comgt')
-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 54997d8..57f4286 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) } & |