mount sysfs at boot on linux 2.6

SVN-Revision: 2835
lede-17.01
Felix Fietkau 2006-01-05 01:41:29 +00:00
parent 029055c7d7
commit 652fc44f0a
1 changed files with 5 additions and 0 deletions

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