summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/palm-novacom/files')
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-initd25
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh5
-rw-r--r--dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh5
3 files changed, 35 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 $?
+}
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh
new file mode 100644
index 000000000..81907ffe6
--- /dev/null
+++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacom.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd /opt/palm-novacom
+exec ./novacom "$@"
+
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh
new file mode 100644
index 000000000..93ae03f10
--- /dev/null
+++ b/dev-embedded/palm-novacom/files/palm-novacom-1.0.55-novacomd.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd /opt/palm-novacom
+exec ./novacomd "$@"
+