mount sysfs at boot on linux 2.6
SVN-Revision: 2835
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user