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