mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-06 01:05:25 +03:00
move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
101062e081
commit
3462ef2525
@ -7,3 +7,6 @@ DEVPATH is set {
|
|||||||
makedev /dev/%DEVICENAME% 0644
|
makedev /dev/%DEVICENAME% 0644
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SUBSYSTEM ~~ button {
|
||||||
|
exec kill -USR1 1 ;
|
||||||
|
}
|
||||||
|
@ -44,7 +44,7 @@ dd if=/dev/console of=/dev/null bs=1 count=0 >/dev/null 2>/dev/null && {
|
|||||||
exec <$M0 >$M1 2>&0
|
exec <$M0 >$M1 2>&0
|
||||||
|
|
||||||
echo "- preinit -"
|
echo "- preinit -"
|
||||||
|
trap 'FAILSAFE=true' USR1
|
||||||
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
|
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
|
||||||
set_state preinit
|
set_state preinit
|
||||||
echo "$HOTPLUG" > /proc/sys/kernel/hotplug
|
echo "$HOTPLUG" > /proc/sys/kernel/hotplug
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
DEVICENAME ~~ (tun|tap[0-9]) {
|
|
||||||
makedev /dev/net/%DEVICENAME% 0644
|
|
||||||
next
|
|
||||||
}
|
|
||||||
|
|
||||||
DEVPATH is set {
|
|
||||||
makedev /dev/%DEVICENAME% 0644
|
|
||||||
}
|
|
||||||
|
|
||||||
SUBSYSTEM ~~ button {
|
|
||||||
exec kill -USR1 1 ;
|
|
||||||
}
|
|
@ -28,7 +28,6 @@ mount none /proc -t proc
|
|||||||
|
|
||||||
insmod diag
|
insmod diag
|
||||||
set_state preinit
|
set_state preinit
|
||||||
trap 'FAILSAFE=true' USR1
|
|
||||||
echo '/sbin/hotplug.failsafe' > /proc/sys/kernel/hotplug
|
echo '/sbin/hotplug.failsafe' > /proc/sys/kernel/hotplug
|
||||||
|
|
||||||
ifname=eth0
|
ifname=eth0
|
||||||
|
Loading…
Reference in New Issue
Block a user