summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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