Thu, 02 Aug 2012 01:49:00 +0200
Modify smf(5) logic to match current Solaris recommended practice.
openpkg/openpkg.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/openpkg/openpkg.spec Thu Aug 02 01:36:44 2012 +0200 1.2 +++ b/openpkg/openpkg.spec Thu Aug 02 01:49:00 2012 +0200 1.3 @@ -2781,7 +2781,7 @@ 1.4 echo "</service_bundle>" 1.5 ) >/var/svc/manifest/openpkg/${suname}.xml 1.6 chmod 644 /var/svc/manifest/openpkg/${suname}.xml 1.7 - /usr/sbin/svccfg import /var/svc/manifest/openpkg/${suname}.xml 1.8 + /usr/sbin/svcadm restart svc:/system/manifest-import 1.9 ( echo "/usr/sbin/svcadm enable \"svc:/openpkg/${suname}:default\"" 1.10 ) >%{l_prefix}.pre-post-process.sh 1.11 fi