diff --git a/fs-overlay/etc/init.d/rcS b/fs-overlay/etc/init.d/rcS index ae2280b..849390a 100755 --- a/fs-overlay/etc/init.d/rcS +++ b/fs-overlay/etc/init.d/rcS @@ -1,15 +1,15 @@ #!/bin/sh EMULATOR=0 VERSION="1.1" -mount -t sysfs none /sys +mount -n -t sysfs none /sys mount -n -t proc none /proc echo 200 > /sys/class/backlight/acx565akm/brightness -mount -t tmpfs -o size=64k,mode=0755 tmpfs /dev +mount -n -t tmpfs -o size=64k,mode=0755 tmpfs /dev mkdir /dev/pts -mount -t devpts devpts /dev/pts -mount -t tmpfs -o rw,noexec,nosuid,mode=0755 tmpfs /run -mount -t tmpfs -o rw,mode=0755 tmpfs /root/ -mount -t tmpfs -o rw,nosuid,nodev tmpfs /tmp/ +mount -n -t devpts devpts /dev/pts +mount -n -t tmpfs -o rw,noexec,nosuid,mode=0755 tmpfs /run +mount -n -t tmpfs -o rw,mode=0755 tmpfs /root/ +mount -n -t tmpfs -o rw,nosuid,nodev tmpfs /tmp/ echo /sbin/mdev.sh > /proc/sys/kernel/hotplug mdev -s find /sys/devices/* -name modalias | while read module ; do @@ -46,7 +46,7 @@ fi touch /run/resolv.conf echo "Starting telnetd..." - +echo echo "Useful information" echo "==================" echo "The root password is: rootme" @@ -56,8 +56,10 @@ echo "ummr -> umount maemo root" echo "enftp -> enable ftp (anon upload/download everywhere)" echo "mse -> enable mass-storage mode" echo "msd -> disable mass-storage mode" - - +echo "Tab: Shift + Space" +echo "Escape: Fn (Arrow) + Ctrl" +echo +echo #node mess if [ -e /sys/block/mmcblk0 ] && [ -e /sys/block/mmcblk1 ] ; then echo -n "1" > /run/internal_nodenr