mount sysfs at boot on linux 2.6
SVN-Revision: 2835
This commit is contained in:
parent
029055c7d7
commit
652fc44f0a
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue