Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wicd/files: wicd-init.d wicd-1.5.0-init.d
Date: Mon, 04 Aug 2008 16:16:41
Message-Id: E1KQ2je-0004aq-Hc@stork.gentoo.org
1 darkside 08/08/04 16:16:38
2
3 Added: wicd-init.d
4 Removed: wicd-1.5.0-init.d
5 Log:
6 version bump, remove old insecure version
7 (Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.1 net-misc/wicd/files/wicd-init.d
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-init.d?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-init.d?rev=1.1&content-type=text/plain
14
15 Index: wicd-init.d
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2006 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20
21 opts="start stop restart"
22
23 WICD_DAEMON=/usr/sbin/wicd
24 WICD_PIDFILE=/var/run/wicd/wicd.pid
25
26 depend() {
27 need dbus
28 }
29
30 start() {
31 ebegin "Starting wicd daemon"
32 $WICD_DAEMON &>/dev/null
33 eend $?
34 }
35
36 stop() {
37 ebegin "Stopping wicd daemon"
38 start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
39 eend $?
40 }