nuke mdev and replace it with hotplug2 :)

SVN-Revision: 6512
This commit is contained in:
Felix Fietkau
2007-03-04 20:31:53 +00:00
parent 0a056c9743
commit a44c286fdb
18 changed files with 38 additions and 28 deletions

View File

@@ -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)
} &