restarting dbus is insufficient, restart network-manager after installation
authorMartin Willi <martin@strongswan.org>
Tue, 30 Jun 2009 15:03:53 +0000 (17:03 +0200)
committerMartin Willi <martin@strongswan.org>
Tue, 30 Jun 2009 15:03:53 +0000 (17:03 +0200)
src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst

index 37718b3..f855e71 100644 (file)
@@ -4,14 +4,14 @@ set -e
 
 case "$1" in
        configure)
-               if [ -x "/etc/init.d/dbus" ]; then
+               if [ -x "/etc/init.d/network-manager" ]; then
                        if [ -x /usr/sbin/invoke-rc.d ]; then
-                               invoke-rc.d dbus force-reload || true
+                               invoke-rc.d network-manager force-reload || true
                        else
-                               /etc/init.d/dbus force-reload || true
+                               /etc/init.d/network-manager force-reload || true
                        fi
                fi
-        ;;
+               ;;
 esac
 
 #DEBHELPER#