From 070be9231484ef2b0c6940a7d82e31d0eb20083c Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Tue, 27 Apr 2010 22:12:45 +0000 Subject: dev-embedded/palm-novacom: New Ebuild for bug 278769 svn path=/sunrise/; revision=10492 --- .../palm-novacom/files/palm-novacom-1.0.55-initd | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd (limited to 'dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd') diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd new file mode 100644 index 000000000..afbc1b8b6 --- /dev/null +++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: $ + +depend() { + use logger +} + +start() { + ebegin "Starting Palm novacom daemon" + start-stop-daemon --start \ + --make-pidfile \ + --pidfile /var/run/novacomd.pid \ + --background \ + --exec /usr/sbin/novacomd -- + eend $? +} + +stop() { + ebegin "Stopping Palm novacom daemon" + start-stop-daemon --stop \ + --pidfile /var/run/novacomd.pid + eend $? +} -- cgit v1.2.3-18-g5258