diff options
Diffstat (limited to 'debian/consolekit.postinst')
-rw-r--r-- | debian/consolekit.postinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/consolekit.postinst b/debian/consolekit.postinst new file mode 100644 index 0000000..0539665 --- /dev/null +++ b/debian/consolekit.postinst @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; +then + if [ -x /usr/bin/smf_present ] && /usr/bin/smf_present; + then + svcadm -v refresh svc:/system/dbus:default || true + else + invoke-rc.d dbus reload || true + fi +fi |