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:
@@ -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)
|
||||
} &
|
||||
|
||||
Reference in New Issue
Block a user