I am writng a menu script for our D/R and would like to have my script start after a reboot. On of my menu options is to perform either a sys_unconfig or a boot -- -r after all the Solaris patches have been installed (the unconfig would be used if the system needed it otherwise a reboot is all we need). So after the restart, I would like to restart my script once root logs in. I am unsure where to place the command. If I place it in .profile, then any terminalsession will start the script. So I only want it started once.
Thanks
BTW: If anyone is interested in this DR menuing script I will share it with them. It also will recover NetBackup.
Thanks
BTW: If anyone is interested in this DR menuing script I will share it with them. It also will recover NetBackup.