Fixed a bug that caused connections to not being found when keyboard is closed during...
[jenirok] / debian / postinst
index 3c024db..9dbc6dc 100644 (file)
@@ -1,12 +1,6 @@
 #!/bin/sh -e
 
 gtk-update-icon-cache -f /usr/share/icons/hicolor
-
-# Make jenirok autostart on boot if this is a new install
-if [ -z "$2" ]; then
-  update-rc.d jenirokd defaults 99 >/dev/null
-fi
-
-/etc/init.d/jenirokd start
+/etc/init.d/jenirokd start -boot
 
 exit 0