1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-28 09:22:36 +01:00

Removed files that are generated by python setup.py configure

Added command to setup.py to clean out generated files ('cleargenerated')
Added the revision number to wicd-daemon.py --help
This commit is contained in:
Adam Blackburn
2008-12-30 10:31:06 -06:00
parent 1a98bf6890
commit ea69f2710e
18 changed files with 31 additions and 1066 deletions

View File

@@ -1,26 +0,0 @@
#!/bin/sh
# Stop daemon
if [ -f /etc/init.d/wicd ]; then
/etc/init.d/wicd 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 /etc/init.d/wicd ]; then
/etc/init.d/wicd start
fi