diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/lcdproc/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r-- | app-misc/lcdproc/files/0.5.1-LCDd.initd | 21 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.1-lcdproc.initd | 20 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd | 21 |
3 files changed, 62 insertions, 0 deletions
diff --git a/app-misc/lcdproc/files/0.5.1-LCDd.initd b/app-misc/lcdproc/files/0.5.1-LCDd.initd new file mode 100644 index 000000000000..9cc32667eb94 --- /dev/null +++ b/app-misc/lcdproc/files/0.5.1-LCDd.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use net + use g15daemon +} + +start() { + ebegin "Starting LCDd" + start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \ + --background --exec /usr/sbin/LCDd -- -s 1 -f + eend $? "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details." +} + +stop() { + ebegin "Stopping LCDd" + start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.1-lcdproc.initd b/app-misc/lcdproc/files/0.5.1-lcdproc.initd new file mode 100644 index 000000000000..ab23fb806efd --- /dev/null +++ b/app-misc/lcdproc/files/0.5.1-lcdproc.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend(){ + use LCDd +} + +start() { + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd new file mode 100644 index 000000000000..2e00eb86bdd8 --- /dev/null +++ b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend(){ + use LCDd + after ntp-client +} + +start() { + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} |