mount sysfs at boot on linux 2.6

SVN-Revision: 2835
master
Felix Fietkau 19 years ago
parent 029055c7d7
commit 652fc44f0a
  1. 5
      openwrt/package/base-files/default/etc/preinit

@ -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…
Cancel
Save