1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-06 05:23:16 +03: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:
nbd 2006-01-05 01:41:29 +00:00
parent 7fc38a6452
commit be333fdd0a

View File

@ -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