summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-24 12:34:49 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-24 12:37:54 +0200
commit1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa (patch)
treed0dc037f07840cc4b4037778d76e5d9643b973dd /app-misc
parentapp-misc/lirc: Drop old (diff)
downloadgentoo-1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa.tar.gz
gentoo-1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa.tar.bz2
gentoo-1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa.zip
app-misc/lirc: Drop old
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lirc/files/irexec-initd28
-rw-r--r--app-misc/lirc/files/irexec-initd-0.9.4a-r128
2 files changed, 0 insertions, 56 deletions
diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd
deleted file mode 100644
index 377ca0d2cf97..000000000000
--- a/app-misc/lirc/files/irexec-initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-: ${IREXEC_USER:=root}
-
-depend() {
- need lircd
-}
-
-start() {
- if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
- ewarn "Warning: Running irexec as root can open security holes"
- fi
-
- ebegin "Starting irexec"
- start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
- --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
- eend $? "Failed to start irexec."
-}
-
-stop() {
- ebegin "Stopping irexec"
- start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
- eend $? "Failed to stop irexec."
-}
-
diff --git a/app-misc/lirc/files/irexec-initd-0.9.4a-r1 b/app-misc/lirc/files/irexec-initd-0.9.4a-r1
deleted file mode 100644
index 203ad3a3d8d4..000000000000
--- a/app-misc/lirc/files/irexec-initd-0.9.4a-r1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-: ${IREXEC_USER:=root}
-
-depend() {
- need lircd
-}
-
-start() {
- if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
- ewarn "Warning: Running irexec as root can open security holes"
- fi
-
- ebegin "Starting irexec"
- start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
- --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
- eend $? "Failed to start irexec."
-}
-
-stop() {
- ebegin "Stopping irexec"
- start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
- eend $? "Failed to stop irexec."
-}
-