The best answer is to deliver the manifest in a package, and set the file class for the manifest to "manifest". System-supplied class action scripts will then do the right things on install and uninstall.
Huafeng Lu wrote: > Renaud Manus ??: >> did you run "svccfg delete <fmri>" before the reboot ? > > > Thanks Renaud, and thanks all that helped (Petr and Ganesh). The method > works well. > > -- > Huafeng > > >> -- Renaud >> >> Huafeng Lu wrote: >>> Hi, >>> >>> I'm adding a SMF service to the system by adding two files: >>> /lib/svc/method/xyz >>> /var/svc/manifest/network/xyz.xml >>> >>> The adding operation succeeded. But after I removed these two files and >>> rebooted the machine, "svcs -a" still displays the "xyz" service. Seems >>> the information is stored in some place. How do I remove this SMF >>> service from the system completely? Thanks. >>> >>> -- >>> Huafeng >>> _______________________________________________ >>> smf-discuss mailing list >>> smf-discuss at opensolaris.org > > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org