This commit is contained in:
t3chn0m4g3 2019-02-15 14:57:41 +01:00
parent bb3f99c058
commit d6536fda3d

View file

@ -798,13 +798,13 @@ rm -rf /etc/issue.d/cockpit.issue && \
rm -rf /etc/motd.d/cockpit && \
rm -rf /etc/issue.net && \
rm -rf /etc/motd && \
systemctl restart console-setup.service
if [ "$myTPOT_DEPLOYMENT_TYPE" == "auto" ];
then
echo "Done. Please reboot."
else
reset
dialog --clear --no-ok --no-cancel --backtitle "$myBACKTITLE" --title "[ Thanks for your patience. Now rebooting. ]" --pause "" 6 80 2 && \
systemctl restart console-setup.service
dialog --clear
sleep 2
fuBANNER "Rebooting ..."
reboot
fi