1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-31 04:55:52 +01: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

43
init/redhat/wicd Executable file
View File

@@ -0,0 +1,43 @@
#! /bin/sh
#
# /etc/init.d/wicd
#
# chkconfig: - 98 02
# description: Wicd is a wireless and wired network manager for Linux.
# Source function library.
. /etc/rc.d/init.d/functions
# This script was borrowed from the Wicd wiki page on building for Fedora
# http://wicd.net/wiki/doku.php?id=fedora
WICD_BIN=/usr/sbin/wicd
case "$1" in
start)
echo -n "Starting wicd services: "
daemon $WICD_BIN 2> /dev/null
touch /var/lock/subsys/wicd
;;
stop)
echo -n "Shutting down wicd services: "
killall wicd 2> /dev/null
rm -f /var/lock/subsys/wicd
;;
status)
if pidofproc wicd > /dev/null ; then
echo "wicd is running."
else
status wicd
fi
;;
restart | reload)
$0 stop
$0 start
;;
*)
echo "Usage: wicd {start|stop|status|reload|restart}"
exit 1
;;
esac