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.4.2-init.d wicd-1.5.0_rc5-init.d |
Date: | Thu, 31 Jul 2008 18:08:58 |
Message-Id: | E1KOca7-0001rX-QW@stork.gentoo.org |
1 | darkside 08/07/31 18:08:55 |
2 | |
3 | Added: wicd-1.4.2-init.d wicd-1.5.0_rc5-init.d |
4 | Log: |
5 | Initial commit of net-misc/wicd, originally in the sunrise overlay |
6 | (Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/wicd/files/wicd-1.4.2-init.d |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.4.2-init.d?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.4.2-init.d?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wicd-1.4.2-init.d |
15 | =================================================================== |
16 | #!/sbin/runscript |
17 | # Copyright 1999-2006 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | |
20 | opts="start stop restart" |
21 | |
22 | WICD_DAEMON="/opt/wicd/daemon.py" |
23 | |
24 | depend() { |
25 | need dbus |
26 | } |
27 | |
28 | start() { |
29 | ebegin "Starting wicd daemon" |
30 | start-stop-daemon --start --exec $WICD_DAEMON &>/dev/null |
31 | eend $? |
32 | } |
33 | |
34 | stop() { |
35 | ebegin "Stopping wicd daemon" |
36 | start-stop-daemon --stop --exec $WICD_DAEMON &>/dev/null |
37 | eend $? |
38 | } |
39 | |
40 | |
41 | |
42 | 1.1 net-misc/wicd/files/wicd-1.5.0_rc5-init.d |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.5.0_rc5-init.d?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/files/wicd-1.5.0_rc5-init.d?rev=1.1&content-type=text/plain |
46 | |
47 | Index: wicd-1.5.0_rc5-init.d |
48 | =================================================================== |
49 | #!/sbin/runscript |
50 | # Copyright 1999-2006 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | |
53 | opts="start stop restart" |
54 | |
55 | WICD_DAEMON=/usr/sbin/wicd |
56 | WICD_PIDFILE=/var/run/wicd/wicd.pid |
57 | |
58 | depend() { |
59 | need dbus |
60 | } |
61 | |
62 | start() { |
63 | ebegin "Starting wicd daemon" |
64 | $WICD_DAEMON &>/dev/null |
65 | eend $? |
66 | } |
67 | |
68 | stop() { |
69 | ebegin "Stopping wicd daemon" |
70 | start-stop-daemon --stop --pidfile "$WICD_PIDFILE" |
71 | eend $? |
72 | } |