Before you remove your files, you need to do following things

1. svcadm disable <service_fmri>

2. Now delete the service from SMF repository
svccfg delete <service_fmri>

*Now svcs -a should not display your service.
*

look "man svccfg" for more.

Regrds
Ganesh


On 10/07/08 16:16, 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
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20081007/573459af/attachment.html>

Reply via email to