From a44c286fdb6478992a0d99cf886fbdb6a67ea301 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 Mar 2007 20:31:53 +0000 Subject: nuke mdev and replace it with hotplug2 :) SVN-Revision: 6512 --- package/comgt/files/3g.button | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/comgt') 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) } & -- cgit v1.1