From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/
Date: Thu, 11 Jun 2020 22:42:48 +0000 (UTC) [thread overview]
Message-ID: <1591915301.52dc19140bb3d60c42bfc59025979217a38bc691.bman@gentoo> (raw)
commit: 52dc19140bb3d60c42bfc59025979217a38bc691
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Jun 9 18:25:22 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 22:41:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dc1914
app-emulation/spice-vdagent: remove unused file
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16146
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../spice-vdagent/files/spice-vdagent.initd-3 | 60 ----------------------
1 file changed, 60 deletions(-)
diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd-3 b/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
deleted file mode 100644
index 255051192b1..00000000000
--- a/app-emulation/spice-vdagent/files/spice-vdagent.initd-3
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- after dbus
-}
-
-PIDFILE="/var/run/spice-vdagentd/spice-vdagentd.pid"
-
-start() {
- PORT="${PORT:-/dev/virtio-ports/com.redhat.spice.0}"
- DEVICE="${DEVICE:-/dev/uinput}"
-
- ebegin "Checking for required modules and devices"
-
- if [ ! -d /sys/module/uinput ]; then
- modprobe -q uinput
- fi
-
- if [ ! -d /sys/module/uinput ]; then
- eerror "Module 'uinput' not loaded or not enabled in the kernel"
- eend 1
- return 1
- fi
-
- if [ ! -c "${PORT}" ] ; then
- eerror "Required virtio port does not exist. Make sure you"
- eerror "started the virtual machine with appropriate parameters."
- eend 1
- return 1
- fi
- eend 0
-
- if [ ! -c ${DEVICE} -a -c /dev/input/uinput ]; then
- DEVICE=/dev/input/uinput
- fi
-
- # recreate the directory since /var/run may reside on a ramdisk
- mkdir -p /var/run/spice-vdagentd
-
- # cleanup stalled socket
- rm -f /var/run/spice-vdagentd/spice-vdagent-sock
-
- ebegin "Starting spice VD agent daemon"
- start-stop-daemon \
- --start \
- --pidfile "${PIDFILE}" \
- --exec /usr/sbin/spice-vdagentd \
- -- -u "${DEVICE}" ${SPICE_VDAGENT_ARGS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping spice VD agent daemon"
- start-stop-daemon \
- --stop \
- --pidfile "${PIDFILE}"
- eend $?
-}
next reply other threads:[~2020-06-11 22:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 22:42 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-05-25 12:42 [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/ Aaron Bauman
2017-12-12 17:08 Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1591915301.52dc19140bb3d60c42bfc59025979217a38bc691.bman@gentoo \
--to=bman@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox