Darren Reed writes:
> Renaud Manus - RPE Approachability wrote:
> 
> > You can use svcprop(1) for that:
> >
> > e.g.
> >     # svcadm disable -t svc:/system/cron:default
> >     # svcprop -p general_ovr/enabled svc:/system/cron:default 2>/dev/null
> >     false
> >     # svcadm enable -t svc:/system/cron:default
> >     # svcprop -p general_ovr/enabled svc:/system/cron:default 2>/dev/null
> >     true
> >     # svcadm enable svc:/system/cron:default
> >     # svcprop -p general_ovr/enabled svc:/system/cron:default 2>/dev/null
> >     #
> >
> > svcprop returns 'false' if the service is temporary disabled and
> > 'true' if the service is temporary enabled; otherwise it returns nothing.
> 
> 
> But wouldn't it be nice if you could do this instead:
> svcdiff -s current -s running

I'm expecting this functionality will arrive as part of David's "profiles"
project -- both for checking temporary enabled/disabled and checking 
for uncommitted changes.

liane
-- 
Liane Praza, Solaris Kernel Development
liane.praza at sun.com - http://blogs.sun.com/lianep



Reply via email to