summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-04-27 22:12:45 +0000
committerMichael Weber <xmw@gentoo.org>2010-04-27 22:12:45 +0000
commit070be9231484ef2b0c6940a7d82e31d0eb20083c (patch)
tree4ce953cbb2a0afeddf2c8687f9f05a0be6159251 /dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd
parentdev-embedded/palm-novacom license for Palm Pre SDK (diff)
downloadsunrise-070be9231484ef2b0c6940a7d82e31d0eb20083c.tar.gz
sunrise-070be9231484ef2b0c6940a7d82e31d0eb20083c.tar.bz2
sunrise-070be9231484ef2b0c6940a7d82e31d0eb20083c.zip
dev-embedded/palm-novacom: New Ebuild for bug 278769
svn path=/sunrise/; revision=10492
Diffstat (limited to 'dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd')
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd25
1 files changed, 25 insertions, 0 deletions
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 $?
+}