diff options
author | Martin Willi <martin@revosec.ch> | 2012-07-02 10:18:59 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-07-02 10:20:03 +0200 |
commit | b8d4cd294b5a15c9204d5e2336e5342b02db2e12 (patch) | |
tree | a19660aa886b75de0127d9efac3377c8bf009fa8 /packages/network-manager-strongswan/debian/network-manager-strongswan.postinst | |
parent | 1e5634c9b3eaad5231ad4a90c394c5589fb2a387 (diff) | |
download | strongswan-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.postinst | 10 |
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# |