diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 827b1529..0a102ea0 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -401,16 +401,18 @@ EOF echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc END_MESSAGE1=$'Congratulations!' if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then - END_MESSAGE2=$'\nYour system has now installed\n\nThe onion ssh service is at $SSH_ONION_HOSTNAME\n\nPress any key to reboot and begin using it' + END_MESSAGE2=$'\nYour system has now installed\n\nThe onion ssh service is at:\n\n ssh ${MY_USERNAME}@${SSH_ONION_HOSTNAME} -p ${SSH_PORT}\n\nTo copy the above address hold down the shift key and double left click on it, then right click and select "copy".\n\nPress any key to reboot and begin using the system' echo ' SSH_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_ssh/hostname)' >> $rootdir/root/.bashrc echo ' if [ ${#SSH_ONION_HOSTNAME} -lt 2 ]; then' >> $rootdir/root/.bashrc echo ' exit 62392' >> $rootdir/root/.bashrc echo ' fi' >> $rootdir/root/.bashrc + END_MESSAGE_HEIGHT=16 else END_MESSAGE2=$'\nYour system has now installed\n\nPress any key to reboot and begin using it' + END_MESSAGE_HEIGHT=12 fi - echo " dialog --title '$END_MESSAGE1' --msgbox \"$END_MESSAGE2\" 12 50" >> $rootdir/root/.bashrc + echo " dialog --title '$END_MESSAGE1' --msgbox \"$END_MESSAGE2\" ${END_MESSAGE_HEIGHT} 60" >> $rootdir/root/.bashrc echo ' reboot' >> $rootdir/root/.bashrc echo ' fi' >> $rootdir/root/.bashrc echo ' else' >> $rootdir/root/.bashrc