1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

nuke mdev and replace it with hotplug2 :)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-03-04 20:31:53 +00:00
parent a4a2f867c8
commit 203cccc4a2
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)
} &