diff --git a/packages/sysutils/busybox/init.d/01_mount-filesystem b/packages/sysutils/busybox/init.d/01_mount-filesystem index 5cf3c27d0b..de74c4555f 100644 --- a/packages/sysutils/busybox/init.d/01_mount-filesystem +++ b/packages/sysutils/busybox/init.d/01_mount-filesystem @@ -24,4 +24,10 @@ # runlevels: openelec, installer, textmode progress "mounting needed filesystems" + mkdir -p /dev/pts + mount -n -t devpts -o gid=5,mode=620 none /dev/pts + + mkdir -p /dev/shm + mount -n -t tmpfs none /dev/shm + mount -n -t ramfs none /var diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index a237295bbc..32ee8fec08 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -20,30 +20,28 @@ # http://www.gnu.org/copyleft/gpl.html ################################################################################ -# mounting needed special filesystems -# mount -n -t proc none /proc # mounted in initramfs -# mount -n -t sysfs none /sys # mounted in initramfs -# mount -n -t devtmpfs none /dev # mounted in initramfs - - echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink - - mkdir -p /dev/pts - mount -n -t devpts -o gid=5,mode=620 none /dev/pts - - mkdir -p /dev/shm - mount -n -t tmpfs none /dev/shm - -# showing version -# lsb_release - -# starting init scripts for wanted runlevel - if [ -f /etc/oem.conf ]; then . /etc/oem.conf fi . /etc/profile +# clear screen and set console + clear + export CONSOLE=/dev/tty3 + +# showing version +# lsb_release + +# starting framebuffer if it still not exist + if [ ! -e /dev/fb0 ]; then + modprobe uvesafb mode_option=1920x1080-32 mtrr=3 scroll=ywrap + fi + +# disable cursor + echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink + +# starting init scripts for wanted runlevel progress "Starting Init Scripts" RET=0