public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in app-crypt/ekeyd/files: ekeyd.init
@ 2009-09-28 10:59 99% Diego Petteno (flameeyes)
  0 siblings, 0 replies; 1+ results
From: Diego Petteno (flameeyes) @ 2009-09-28 10:59 UTC (permalink / raw
  To: gentoo-commits

flameeyes    09/09/28 10:59:07

  Added:                ekeyd.init
  Log:
  Initial import of the EntropyKey daemon; this is still a work-in-progress ebuild, as it lacks an init script for the USB userland driver, and checks for Linux kernel options for CDC modem support.
  (Portage version: 2.2_rc42/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-crypt/ekeyd/files/ekeyd.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/files/ekeyd.init?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/ekeyd/files/ekeyd.init?rev=1.1&content-type=text/plain

Index: ekeyd.init
===================================================================
#!/sbin/runscript
# Copyright 2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/files/ekeyd.init,v 1.1 2009/09/28 10:59:07 flameeyes Exp $

INSTANCE="${SVCNAME#*.}"
if [ -z "${INSTANCE}" ] || [ "${SVCNAME}" = "ekeyd" ]; then
	INSTANCE="ekeyd"
fi

depend() {
	 use udev
}

start() {
	ebegin "Starting EntropyKey daemon"
	start-stop-daemon \
		--start --pidfile "/var/run/${SVCNAME}.pid" \
		--exec /usr/sbin/ekeyd -- \
		-f "/etc/entropykey/${INSTANCE}.conf" \
		-p "/var/run/${SVCNAME}.pid"
	eend $?
}

stop() {
	ebegin "Stopping EntropyKey daemon"
	start-stop-daemon \
		--stop --pidfile "/var/run/${SVCNAME}.pid" \
		--exec /usr/sbin/ekeyd
	eend $?
}







^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-09-28 10:59 99% [gentoo-commits] gentoo-x86 commit in app-crypt/ekeyd/files: ekeyd.init Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox