openpkg/shtool.sh

Thu, 02 Aug 2012 22:07:29 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 02 Aug 2012 22:07:29 +0200
changeset 449
dec7ed8e8eaf
permissions
-rw-r--r--

Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.

michael@428 1 #!/bin/sh
michael@428 2 exec @l_prefix@/lib/openpkg/shtool ${1+"$@"}

mercurial