mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 14:27:42 +02:00
mount sysfs at boot on linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2835 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ddef923d81
commit
45e4c70122
@ -21,4 +21,9 @@ mount_root ${FAILSAFE:+failsafe}
|
|||||||
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
|
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
grep sysfs /proc/filesystems >&- 2>&- && {
|
||||||
|
mkdir -p /sys
|
||||||
|
mount -t sysfs none /sys
|
||||||
|
}
|
||||||
|
|
||||||
exec /sbin/init
|
exec /sbin/init
|
||||||
|
Loading…
Reference in New Issue
Block a user