From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB8B2139083 for ; Tue, 12 Dec 2017 17:08:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27210E0F00; Tue, 12 Dec 2017 17:08:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05A00E0F06 for ; Tue, 12 Dec 2017 17:08:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 741D23417A1 for ; Tue, 12 Dec 2017 17:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3ACFCAE66 for ; Tue, 12 Dec 2017 17:08:13 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1513098334.f098518c00c7fd57dd1e70452350525324246256.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice-vdagent/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/spice-vdagent/files/spice-vdagent.initd-2 X-VCS-Directories: app-emulation/spice-vdagent/files/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: f098518c00c7fd57dd1e70452350525324246256 X-VCS-Branch: master Date: Tue, 12 Dec 2017 17:08:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f0b08e6a-f08b-45b1-8d72-ee2c1623f0cb X-Archives-Hash: b774a560280ca143fb6086b9405978e7 commit: f098518c00c7fd57dd1e70452350525324246256 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Nov 19 12:51:03 2017 +0000 Commit: Matthias Maier gentoo org> CommitDate: Tue Dec 12 17:05:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f098518c app-emulation/spice-vdagent: remove unused init file Signed-off-by: Matthias Maier gentoo.org> .../spice-vdagent/files/spice-vdagent.initd-2 | 60 ---------------------- 1 file changed, 60 deletions(-) diff --git a/app-emulation/spice-vdagent/files/spice-vdagent.initd-2 b/app-emulation/spice-vdagent/files/spice-vdagent.initd-2 deleted file mode 100644 index a3194d5c185..00000000000 --- a/app-emulation/spice-vdagent/files/spice-vdagent.initd-2 +++ /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} && -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 $? -}