I am trying to create a simple my-ntp pkg that will update /etc/inet/ntp.conf 
and take the necessary actions to enable ntp and/or restart the ntp smf 
service.  
What am I missing  here ?.


$ eval `pkgsend -s http://127.0.0.1:10000 open my-ntp at 3.0-2` 
$ pkgsend add file etc/inet/ntp.conf mode=0555 owner=root group=bin \ 
    path=etc/inet/ntp.conf restart_fmri=svc:/network/ntp:default 
$ pkgsend add file var/svc/manifest/network/ntp.xml mode=0444 owner=root 
group=sys \ 
    path=var/svc/manifest/network/ntp.xml 
restart_fmri=svc:/system/manifest-import:default 
$ pkgsend add set name=description value="add ntp.conf and start it" 
$ pkgsend add set name=info.classification 
value="com.somename.2008:TimeInfra/testing" 
$ /usr/bin/pkgsend -s http://127.0.0.1:10000 close

Any pointers are apreciated.

best regards,
..Vikram



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/install-discuss/attachments/20090311/89ace624/attachment.html>

Reply via email to