1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-02 02:13:35 +02:00

Experimental: Apply changes involving setup.py

* Added setup.py from trunk
 * Updated various information files (AUTHORS, README, etc)
 * Update the Wicd icon
 * Move stuff around to match trunk's layout
This commit is contained in:
compwiz18
2008-08-23 20:14:43 +00:00
parent 2261b25101
commit 0844386017
91 changed files with 2945 additions and 1793 deletions

26
in/other=postinst.in Executable file
View File

@@ -0,0 +1,26 @@
#!/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