disable autostart questions. autostart telnetd. shortcuts for /rescueOS/ scripts.
Cette révision appartient à :
Parent
b72c6a0ae9
révision
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
Lien symbolique
1
fs-overlay/sbin/enftp
Lien symbolique
@ -0,0 +1 @@
|
||||
/rescueOS/enableftp.sh
|
1
fs-overlay/sbin/mmr
Lien symbolique
1
fs-overlay/sbin/mmr
Lien symbolique
@ -0,0 +1 @@
|
||||
/rescueOS/mount-maemo-root.sh
|
1
fs-overlay/sbin/msd
Lien symbolique
1
fs-overlay/sbin/msd
Lien symbolique
@ -0,0 +1 @@
|
||||
/rescueOS/mass-storage-disable.sh
|
1
fs-overlay/sbin/mse
Lien symbolique
1
fs-overlay/sbin/mse
Lien symbolique
@ -0,0 +1 @@
|
||||
/rescueOS/mass-storage-enable.sh
|
1
fs-overlay/sbin/ummr
Lien symbolique
1
fs-overlay/sbin/ummr
Lien symbolique
@ -0,0 +1 @@
|
||||
/rescueOS/umount-maemo-root.sh
|
Chargement…
Référencer dans un nouveau ticket
Block a user