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_rc11-init.d wicd-1.5.0_rc5-init.d
Date: Fri, 01 Aug 2008 16:17:58
Message-Id: E1KOxKG-0006Un-Hk@stork.gentoo.org
1 darkside 08/08/01 16:17:56
2
3 Added: wicd-1.5.0_rc11-init.d
4 Removed: wicd-1.5.0_rc5-init.d
5 Log:
6 Actually install the init file (renamed file) and added die message so this won't happen in the future. Fixes bug #233616
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686)
8
9 Revision Changes Path
10 1.1 net-misc/wicd/files/wicd-1.5.0_rc11-init.d
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.5.0_rc11-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_rc11-init.d?rev=1.1&content-type=text/plain
14
15 Index: wicd-1.5.0_rc11-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 }