diff --git a/in/other=postinst.in b/in/other=postinst.in deleted file mode 100755 index 0a1f0b2..0000000 --- a/in/other=postinst.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# Stop daemon -if [ -f %INIT%%INITFILENAME% ]; then - %INIT%%INITFILENAME% stop -fi - -# Remove Wicd from the boot sequence -if which update-rc.d &>/dev/null ; then - update-rc.d -f wicd remove -fi - -# Remove pyc files -# They may exist if you are upgrading Wicd -rm -f /opt/wicd/*.pyc - -# Add Wicd to the startup sequence -# 80 to make sure that dbus is running when Wicd starts -if which update-rc.d &>/dev/null ; then - update-rc.d wicd start 80 2 3 4 5 . stop 20 0 1 6 . -fi - -# Start the daemon -if [ -f %INIT%%INITFILENAME% ]; then - %INIT%%INITFILENAME% start -fi