>>  >>   bfu.sh:
>>  >
>>  > I've considered all of your above comments and put the code into a
>>  > common function that everyone can call.
>>
>>    Yay!  Looks great.
>>
>>    BTW, if you instead do
>>
>>      SVCCFG_REPOSITORY=... \
>>      /usr/sbin/svccfg ...
>>
>>    you can avoid the export/unset.
>>
> Will change this too.
> 
> Thank you again for your comments.
> 
Hi David,

I had another try (to bfu from pre-datalink-management-service bits) and it 
seems that smf_import_service(datalink-management) is not even needed. I 
guess it is because that the service is in seed repository. Is this true?

I suspect it is true because I also find that the following does not seem to 
work. It prints out "svccfg: unable to open file: No such file or directory":

        sed -e "s/enabled='true'/enabled='false'/" \
            /var/svc/manifest/network/dlmgmt.xml | \
            svccfg import -

I am not quite sure how other services like datalink-init worked.

Thanks
- Cathy





Reply via email to