UNIX admin wrote:
Then you'll have to re-create your package.
If I put the work, which was normally done in postinstall, postremove,
preinstall and preremove into SMF, how can I ensure that the sysadmin doesn't
accidentally enable package's SMF method which does the equivalent of preremove
or postremove?
I would think that by keeping state somewhere, either via SMF properties
or something else, you can record that you've "initialized" your package
already and so in the SMF methods you would check the state before
performing any action.
--joe
_______________________________________________
opensolaris-discuss mailing list
[email protected]