diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-15 20:04:42 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-15 20:04:42 +0400 |
commit | f77504401b72cb900ada224a258735c5d0d35a7c (patch) | |
tree | ccace55150d50273efa497230e73678c569b4c42 | |
parent | 66cba99a4134578d5f4b7c934326a570e4a4ea1a (diff) | |
download | dh-smf-f77504401b72cb900ada224a258735c5d0d35a7c.tar.gz |
Do not set SVCCFG_REPOSITORY!
-rw-r--r-- | autoscripts/postinst-smf-import | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-smf-import b/autoscripts/postinst-smf-import index e3b12e3..69b8396 100644 --- a/autoscripts/postinst-smf-import +++ b/autoscripts/postinst-smf-import @@ -1,4 +1,6 @@ -env SVCCFG_REPOSITORY=/etc/svc/repository.db \ +if [ -x /usr/sbin/svccfg ] && [ -x /usr/bin/smf_present ] && /usr/bin/smf_present; then SVCCFG_CHECKHASH=1 \ - svccfg -v import #MANIFESTS# || true + /usr/sbin/svccfg -v import #MANIFESTS# \ + || true +fi |