summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-09-09 13:55:50 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-09-09 14:29:22 +0200
commitc6b9edce95b3886be17927de728200949b7253f1 (patch)
treef305d23a237749d5dc6de3da74559a42bea1cb5d /app-misc/g15composer/files
parentapp-misc/g15composer: Version 3.2-r1 stable for amd64 and x86 (diff)
downloadgentoo-c6b9edce95b3886be17927de728200949b7253f1.tar.gz
gentoo-c6b9edce95b3886be17927de728200949b7253f1.tar.bz2
gentoo-c6b9edce95b3886be17927de728200949b7253f1.zip
app-misc/g15composer: Removed old
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc/g15composer/files')
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.confd17
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.initd48
2 files changed, 0 insertions, 65 deletions
diff --git a/app-misc/g15composer/files/g15composer-3.1.confd b/app-misc/g15composer/files/g15composer-3.1.confd
deleted file mode 100644
index f42ab956e242..000000000000
--- a/app-misc/g15composer/files/g15composer-3.1.confd
+++ /dev/null
@@ -1,17 +0,0 @@
-# /etc/conf.d/g15composer: Configuration for the g15composer
-
-# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
-# It does not create a screen on the display, but allows programs to
-# create their own non-virtual screens.
-# Please make sure the file specified does not exist.
-CONTROL_FIFO="/var/run/g15composer"
-
-# Set the user who owns the CONTROL_FIFO.
-# As this is also the user as whom g15composer is run,
-# it has to be someone who can create further message channels
-# This should be the user who runs the LCD clients
-FIFO_USER=
-
-# Set the grop which owns the CONTROL_FIFO.
-# The users who want to display screens on the LCD need to be in this group.
-FIFO_GROUP=users
diff --git a/app-misc/g15composer/files/g15composer-3.1.initd b/app-misc/g15composer/files/g15composer-3.1.initd
deleted file mode 100644
index 0d7c24f85609..000000000000
--- a/app-misc/g15composer/files/g15composer-3.1.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
- need g15daemon
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
-
- if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
- eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
- eend 1
- return 1
- fi
- if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
- eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
- eend 1
- return 1
- fi
- if [ ! -p "${CONTROL_FIFO}" ] ; then
- einfo "Creating FIFO at ${CONTROL_FIFO}"
- mkfifo -m660 "${CONTROL_FIFO}"
- else
- einfo "Reusing FIFO at ${CONTROL_FIFO}"
- fi
-
- chown ${FIFO_USER} "${CONTROL_FIFO}"
- chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
- start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
- /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
- eend $?
-}
-
-stop() {
- ebegin "Stoping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
- if [ -p "${CONTROL_FIFO}" ] ; then
- einfo "Removing FIFO at ${CONTROL_FIFO}"
- rm -f "${CONTROL_FIFO}"
- else
- ewarn "FIFO at ${CONTROL_FIFO} was lost"
- fi
- eend $?
-}