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