1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 22:33:20 +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:
nbd 2006-01-05 01:41:29 +00:00
parent ddef923d81
commit 45e4c70122

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