Check for failed installs
This commit is contained in:
parent
ddd7bbd7ef
commit
bc6431a8ce
|
@ -403,6 +403,10 @@ EOF
|
|||
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'
|
||||
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
|
||||
else
|
||||
END_MESSAGE2=$'\nYour system has now installed\n\nPress any key to reboot and begin using it'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue