added initctl calls (should add an uninstall script too)
[wifi-assistant] / package / debian / wifi-assistant.postinst
index 594d878..3fc2134 100644 (file)
@@ -1,10 +1,15 @@
 #!/bin/sh
 
 set -e
-gconftool-2 -s /apps/maemo/wifi-assistant/url_to_open "http://wifi-assistant.garage.maemo.org/ping/" --type string
+gconftool-2 -s /apps/maemo/wifi-assistant/url_to_open "http://wifi-assistant.garage.maemo.org/" --type string
 gconftool-2 -s /apps/maemo/wifi-assistant/popup "true" --type boolean
 
 # Hacky fix for NB#136012
 gconftool-2 -s /desktop/gnome/url-handlers/http/command 'dbus-send --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser com.nokia.osso_browser.load_url string:"%s"' --type string 
 
+# update icon cache
 gtk-update-icon-cache -f /usr/share/icons/hicolor
+
+# start daemon
+/sbin/initctl stop wifi-assistant
+/sbin/initctl start wifi-assistant