Message at the end of install
This commit is contained in:
parent
4dcb1a6aa9
commit
b2305bf00b
|
@ -301,8 +301,14 @@ EOF
|
||||||
echo " rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
|
echo " rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
|
||||||
echo " touch /root/.remove_${GENERIC_IMAGE_USERNAME}" >> $rootdir/root/.bashrc
|
echo " touch /root/.remove_${GENERIC_IMAGE_USERNAME}" >> $rootdir/root/.bashrc
|
||||||
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
||||||
echo ' dialog --title "Congratulations!" --msgbox "\nYour Freedombone system has now installed\n\nPress any key to reboot and begin using it" 9 50' >> $rootdir/root/.bashrc
|
END_MESSAGE1=$'Congratulations!'
|
||||||
|
if [[ $VARIANT != "mesh" ]]; then
|
||||||
|
END_MESSAGE2=$'\nYour Freedombone system has now installed\n\nThe onion ssh service is at $SSH_ONION_HOSTNAME\n\nPress any key to reboot and begin using it'
|
||||||
|
echo ' SSH_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_ssh/hostname)' >> $rootdir/root/.bashrc
|
||||||
|
else
|
||||||
|
END_MESSAGE2=$'\nYour Freedombone system has now installed\n\nPress any key to reboot and begin using it'
|
||||||
|
fi
|
||||||
|
echo " dialog --title '$END_MESSAGE1' --msgbox \"$END_MESSAGE2\" 9 50" >> $rootdir/root/.bashrc
|
||||||
echo ' reboot' >> $rootdir/root/.bashrc
|
echo ' reboot' >> $rootdir/root/.bashrc
|
||||||
echo ' fi' >> $rootdir/root/.bashrc
|
echo ' fi' >> $rootdir/root/.bashrc
|
||||||
echo ' else' >> $rootdir/root/.bashrc
|
echo ' else' >> $rootdir/root/.bashrc
|
||||||
|
|
Loading…
Reference in New Issue