From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/haveged/files: haveged-init.d haveged-conf.d |
Date: | Wed, 05 Jan 2011 03:30:40 |
Message-Id: | 20110105033030.999792004E@flycatcher.gentoo.org |
1 | robbat2 11/01/05 03:30:30 |
2 | |
3 | Added: haveged-init.d haveged-conf.d |
4 | Log: |
5 | Add another entropy daemon. |
6 | |
7 | (Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/haveged/files/haveged-init.d |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/haveged/files/haveged-init.d?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/haveged/files/haveged-init.d?rev=1.1&content-type=text/plain |
14 | |
15 | Index: haveged-init.d |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2011 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/files/haveged-init.d,v 1.1 2011/01/05 03:30:30 robbat2 Exp $ |
21 | |
22 | DAEMON=haveged |
23 | HAVEGED_OPTS="-r 0 ${HAVEGED_OPTS}" |
24 | PIDFILE=/var/run/${DAEMON}.pid |
25 | |
26 | start() { |
27 | ebegin "Starting ${DAEMON}" |
28 | start-stop-daemon --start --quiet --exec "/usr/sbin/${DAEMON}" -- ${HAVEGED_OPTS} |
29 | eend $? |
30 | } |
31 | |
32 | stop() { |
33 | ebegin "Stopping ${DAEMON}" |
34 | start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" |
35 | eend $? |
36 | } |
37 | |
38 | # vim:ft=gentoo-init-d: |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/haveged/files/haveged-conf.d |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/haveged/files/haveged-conf.d?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/haveged/files/haveged-conf.d?rev=1.1&content-type=text/plain |
46 | |
47 | Index: haveged-conf.d |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/haveged/files/haveged-conf.d,v 1.1 2011/01/05 03:30:30 robbat2 Exp $ |
52 | |
53 | WATERMARK=1024 |
54 | |
55 | # -r0 is added always |
56 | HAVEGED_OPTS="-w ${WATERMARK} -v 1" |
57 | |
58 | # vim:ft=gentoo-conf-d: |