[CentOS] Run as root on reboot

Wed Oct 28 23:34:32 UTC 2020
david <david at daku.org>


Is there a way to reboot and have a script run without 
intervention.  During initial setup, I'd like to avoid the manual 
actions of logging on as root and executing a command, but instead 
have that command run without intervention.  The output of the 
command would still show up on the terminal that initiated the reboot.

Security is not a concern here.  And I don't want to invoke 
high-powered functions like "jumpstart".