diff options
Diffstat (limited to 'dev-embedded/palm-novacom/files/palm-novacom-initd')
-rw-r--r-- | dev-embedded/palm-novacom/files/palm-novacom-initd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-embedded/palm-novacom/files/palm-novacom-initd b/dev-embedded/palm-novacom/files/palm-novacom-initd new file mode 100644 index 000000000..afbc1b8b6 --- /dev/null +++ b/dev-embedded/palm-novacom/files/palm-novacom-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 $? +} |