aboutsummaryrefslogtreecommitdiffstats
path: root/packages/network-manager-strongswan/debian/network-manager-strongswan.postinst
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-02 10:18:59 +0200
committerMartin Willi <martin@revosec.ch>2012-07-02 10:20:03 +0200
commitb8d4cd294b5a15c9204d5e2336e5342b02db2e12 (patch)
treea19660aa886b75de0127d9efac3377c8bf009fa8 /packages/network-manager-strongswan/debian/network-manager-strongswan.postinst
parent1e5634c9b3eaad5231ad4a90c394c5589fb2a387 (diff)
downloadstrongswan-b8d4cd294b5a15c9204d5e2336e5342b02db2e12.tar.bz2
strongswan-b8d4cd294b5a15c9204d5e2336e5342b02db2e12.tar.xz
Update our network-manager-strongswan/debian to what is actually used downstream
Diffstat (limited to 'packages/network-manager-strongswan/debian/network-manager-strongswan.postinst')
-rw-r--r--packages/network-manager-strongswan/debian/network-manager-strongswan.postinst10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/network-manager-strongswan/debian/network-manager-strongswan.postinst b/packages/network-manager-strongswan/debian/network-manager-strongswan.postinst
index e59acf933..f855e713c 100644
--- a/packages/network-manager-strongswan/debian/network-manager-strongswan.postinst
+++ b/packages/network-manager-strongswan/debian/network-manager-strongswan.postinst
@@ -4,10 +4,14 @@ set -e
case "$1" in
configure)
- if [ -x "/etc/dbus-1/event.d/25NetworkManager" ]; then
- /etc/dbus-1/event.d/25NetworkManager restart
+ if [ -x "/etc/init.d/network-manager" ]; then
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d network-manager force-reload || true
+ else
+ /etc/init.d/network-manager force-reload || true
+ fi
fi
- ;;
+ ;;
esac
#DEBHELPER#