I can't speak about the Solaris plugin, unfortunately, but a single execnative call wouldn't cover what you're trying to accomplish. There's an RFE for the core SPS system to add this capability, but I don't know that it will be added soon. Remember that when you switch runlevels, a number of start and stop scripts are invoked, shutting down and starting up a number of services. To do what you want to do, you'd have to have a start script for the RA in runlevel 1. You'd also have to have a way for the RA to execute a command on startup which isn't possible today. There'd have to be a way for the MS to deposit a command for the RA to execute, restart the RA in runlevel 1, the RA would have to read the command on startup and execute it, then restart the RA to runlevel 3 (or 6, whatever is your default or previous runlevel). It's all doable, to be sure, but not with changes to the core product.
Jay,
<P>
You can also create rc-scripts on the fly that gets executed.<P>
So the order would be:
1) Run plan
2) Plan creates /etc/rc1.d/installPatch.sh
3) Run init 6, and this exits 0 so RA is happy<P>
When the machine comes back up it will patch the machine and the final step is reboot to get back to normal and of course remove the script.<P>
The important thing to mention is also that single user mode means no incoming network connections so it would not matter if the RA would run or not since it would violate that.<P>
HTH,
Peter