disable autostart questions. autostart telnetd. shortcuts for /rescueOS/ scripts.
This commit is contained in:
parent
b72c6a0ae9
commit
add2f9b166
@ -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
Symbolic link
1
fs-overlay/sbin/enftp
Symbolic link
@ -0,0 +1 @@
|
||||
/rescueOS/enableftp.sh
|
1
fs-overlay/sbin/mmr
Symbolic link
1
fs-overlay/sbin/mmr
Symbolic link
@ -0,0 +1 @@
|
||||
/rescueOS/mount-maemo-root.sh
|
1
fs-overlay/sbin/msd
Symbolic link
1
fs-overlay/sbin/msd
Symbolic link
@ -0,0 +1 @@
|
||||
/rescueOS/mass-storage-disable.sh
|
1
fs-overlay/sbin/mse
Symbolic link
1
fs-overlay/sbin/mse
Symbolic link
@ -0,0 +1 @@
|
||||
/rescueOS/mass-storage-enable.sh
|
1
fs-overlay/sbin/ummr
Symbolic link
1
fs-overlay/sbin/ummr
Symbolic link
@ -0,0 +1 @@
|
||||
/rescueOS/umount-maemo-root.sh
|
Loading…
Reference in New Issue
Block a user