summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-18 16:10:05 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-18 16:10:05 +0400
commit62f36136427a030347eba1e406acbb4892870f4f (patch)
tree8d1bc54a236f0e957557fbe277716212a4e4c53e
parentf77504401b72cb900ada224a258735c5d0d35a7c (diff)
downloaddh-smf-62f36136427a030347eba1e406acbb4892870f4f.tar.gz
Keep it simple
-rw-r--r--autoscripts/postinst-smf-import3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoscripts/postinst-smf-import b/autoscripts/postinst-smf-import
index 69b8396..07ccbc2 100644
--- a/autoscripts/postinst-smf-import
+++ b/autoscripts/postinst-smf-import
@@ -1,4 +1,5 @@
-if [ -x /usr/sbin/svccfg ] && [ -x /usr/bin/smf_present ] && /usr/bin/smf_present; then
+# If a service is enabled by default it will start at this point
+if [ -x /usr/bin/smf_present ] && /usr/bin/smf_present; then
SVCCFG_CHECKHASH=1 \
/usr/sbin/svccfg -v import #MANIFESTS# \
|| true