x11/rc.x11

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.

     1 #!@l_prefix@/bin/openpkg rc
     2 ##
     3 ##  rc.x11 -- Run-Commands
     4 ##
     6 %config
     7     x11_bindir="@x11_bindir@"
     8     x11_incdir="@x11_incdir@"
     9     x11_libdir="@x11_libdir@"
    11 %info -o
    12     echo "X11 Binary  Directory: ${x11_bindir}"
    13     echo "X11 Include Directory: ${x11_incdir}"
    14     echo "X11 Library Directory: ${x11_libdir}"

mercurial