SMF manifest for OSS

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, kodachi, cesium

SMF manifest for OSS

Postby Tomservo » Sun Jun 17, 2007 1:32 pm

Well, it seems to work now.

Two files. oss.xml is the manifest and needs to imported to be recognized, like svccfg import oss.xml. Then there's svc-oss (derived from the rc3 one), the script doing the starting and stopping. Drop it in /lib/svc/method, chmod 555 it. If you put it elsewhere, you need to adjust the manifest.

http://stuff.tomservo.cc/oss.xml
http://stuff.tomservo.cc/svc-oss

You have to remove the hardlinks K89oss and S89oss from /etc/rc3.d after having set up the SMF service.

--edit:
And I almost forgot, you need to enable it with svcadm enable svc:/system/opensound
Tomservo
 
Posts: 40
Joined: Sat May 05, 2007 8:15 pm

Return to Solaris

Who is online

Users browsing this forum: No registered users and 4 guests