disable autostart questions. autostart telnetd. shortcuts for /rescueOS/ scripts.

This commit is contained in:
Albert S. 2015-05-31 12:43:04 +02:00
parent b72c6a0ae9
commit add2f9b166
6 ha cambiato i file con 15 aggiunte e 20 eliminazioni

Vedi File

@ -45,28 +45,18 @@ fi
touch /run/resolv.conf
echo "The root password is: rootme"
echo "Starting telnetd..."
#Being helpful for beginners, and annoying for "power users"
echo "Start an FTP server with anonymous up and downloads everywhere? y/n"
read result;
if [ "$result" = "y" ] ; then
tcpsvd -v 0.0.0.0 21 ftpd -w &
fi
echo "Useful information"
echo "=================="
echo "The root password is: rootme"
echo "Shortcuts:"
echo "mmr -> mount maemo root"
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 "Start telnetd? y/n"
read result;
if [ "$result" = "y" ] ; then
telnetd
fi
echo "Start usb-networking? y/n"
read result;
if [ "$result" = "y" ] ; then
/rescueOS/usbnetworking-enable.sh
fi
#node mess
if [ -e /sys/block/mmcblk0 ] && [ -e /sys/block/mmcblk1 ] ; then

1
fs-overlay/sbin/enftp Link Simbolico
Vedi File

@ -0,0 +1 @@
/rescueOS/enableftp.sh

1
fs-overlay/sbin/mmr Link Simbolico
Vedi File

@ -0,0 +1 @@
/rescueOS/mount-maemo-root.sh

1
fs-overlay/sbin/msd Link Simbolico
Vedi File

@ -0,0 +1 @@
/rescueOS/mass-storage-disable.sh

1
fs-overlay/sbin/mse Link Simbolico
Vedi File

@ -0,0 +1 @@
/rescueOS/mass-storage-enable.sh

1
fs-overlay/sbin/ummr Link Simbolico
Vedi File

@ -0,0 +1 @@
/rescueOS/umount-maemo-root.sh