mount sysfs at boot on linux 2.6

SVN-Revision: 2835
This commit is contained in:
Felix Fietkau 2006-01-05 01:41:29 +00:00
parent 029055c7d7
commit 652fc44f0a

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