I also need the smf either to pick up a variable value from an possible xml or other plain config file, is this possible ? and later use that value in the exec methods..this will be helpful for me to make the smf file specific to service..not hardcoding anything here :) except the variable that needs to be picked up.. Regards, Nikhil
On 10/9/05, mnikhil m <mnikhil.juno at gmail.com> wrote: > > Hi > While converting one of my service's rc script to SMF, I came to know > that the init script checks for a port usage, if that port is unoccupied > then it would run, other reports that the related port is in use..so I want > to check/add the dependency in the new SMF to check whether the port is open > or not..can somebody.. (Hi Steve ;)) please help me in this.. > one more question..can I include if I want to a piece of shell script in > the smf.xml file itself, I know that is not good as smfs are supposed to > be config files ..please correct me if I am wrong :) > Regards, > Nikhil > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20051009/a9a32607/attachment.html>