executing script as last thing after boot or reboot
what and how is the best way to accomplish having a simple script execute once whenever the system boots?
This would be for a cold boot from a powered off state, or after a reboot or init 6.
And i would want the script to be the very last or as close to last thing that happens after boot/reboot.
my script is just a few lmgrd commands to kick off some flexlm licenses, or echo the date and time to a text file of my choosing.
ideally i would want the script to execute the lmgrd commands as some other user besides root.