Posted on 12-09-2019 09:10 AM
Hello All,
Very new and still learning to scripting but I came across this restart reminder script and having issue with the script not restarting the Mac. I want to add a hard shutdown comment due to FileVault and T2 chip but can't find a spot to add it.
thanks for you help in advance.
Solved! Go to Solution.
Posted on 12-09-2019 09:24 AM
On line 46 change
#reboot
to
shutdown -h now
That will force a shutdown, however, if you are simply wanting a reboot you just need to remove the # which is commenting the restart command out.
Posted on 12-09-2019 09:24 AM
On line 46 change
#reboot
to
shutdown -h now
That will force a shutdown, however, if you are simply wanting a reboot you just need to remove the # which is commenting the restart command out.
Posted on 12-09-2019 10:43 AM
@drtaru OMG that works, I feel like such a noob. Thank you!
Posted on 12-09-2019 01:21 PM
Or shutdown -r now
.