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-1.5.0-init.d wicd-1.5.0_rc11-init.d wicd-1.4.2-init.d
Date: Sun, 03 Aug 2008 02:52:23
Message-Id: E1KPThk-0006UZ-Li@stork.gentoo.org
1 darkside 08/08/03 02:52:20
2
3 Added: wicd-1.5.0-init.d
4 Removed: wicd-1.5.0_rc11-init.d wicd-1.4.2-init.d
5 Log:
6 Version bump. add ~x86 kw. Remove old.
7 (Portage version: 2.2_rc4/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.1 net-misc/wicd/files/wicd-1.5.0-init.d
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.5.0-init.d?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.5.0-init.d?rev=1.1&content-type=text/plain
14
15 Index: wicd-1.5.0-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 }