all mounts with -n ; document tab + escape on N900 keyboard

This commit is contained in:
Albert S. 2015-05-31 13:00:18 +02:00
parent 81f6dc0ead
commit 231350a726

View File

@ -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