diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-14 22:42:18 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-14 22:42:18 +0400 |
commit | 13f17a1b96c71792b18acf94b1f48379f803d850 (patch) | |
tree | 7e24999c842776a484974c5eceef1e155ddd532b | |
parent | 6e0b5c0b023fb1fabee187aa5efcdd596a0d9ee4 (diff) | |
download | dh-smf-13f17a1b96c71792b18acf94b1f48379f803d850.tar.gz |
Use single svccfg exec, make it verbose
-rw-r--r-- | autoscripts/postinst-smf-import | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/autoscripts/postinst-smf-import b/autoscripts/postinst-smf-import index 828d5e8..e3b12e3 100644 --- a/autoscripts/postinst-smf-import +++ b/autoscripts/postinst-smf-import @@ -1,9 +1,4 @@ -for m in #MANIFESTS#; do - # Setting SVCCFG_REPOSITORY causes svccfg only update - # repository without starting services - env \ - SVCCFG_REPOSITORY=/etc/svc/repository.db \ - SVCCFG_CHECKHASH=1 \ - svccfg import "$m" || true -done +env SVCCFG_REPOSITORY=/etc/svc/repository.db \ + SVCCFG_CHECKHASH=1 \ + svccfg -v import #MANIFESTS# || true |