public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH v2 05/11] Zut alors, delete motion initiscript as well :-/
Date: Mon, 17 May 2021 23:57:18 +0200	[thread overview]
Message-ID: <18f02f8f-10f3-f5fe-87b0-42bcaae6df32@ipfire.org> (raw)
In-Reply-To: <7cf1c835-9ac7-6f5c-5b07-a0ebba6dd93f@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
 src/initscripts/packages/motion | 42 ---------------------------------
 1 file changed, 42 deletions(-)
 delete mode 100644 src/initscripts/packages/motion

diff --git a/src/initscripts/packages/motion b/src/initscripts/packages/motion
deleted file mode 100644
index f5fa9c677..000000000
--- a/src/initscripts/packages/motion
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-	start)
-		boot_mesg "Starting motion webcam server..."
-		if [ ! -e /dev/video0 ]; then
-			boot_mesg "Error! No video input device found."
-			echo_failure
-			#No 3 min wait
-			exit 0;
-		fi
-		chown :video /dev/video*
-		mkdir -p /var/motion/cam1
-		chown -R video: /var/motion/cam1
-		loadproc sudo -u video /usr/bin/motion
-		;;
-
-	stop)
-		boot_mesg "Stopping motion webcam server..."
-		killproc /usr/bin/motion
-		;;
-
-	restart)
-		$0 stop
-		sleep 1
-		$0 start
-		;;
-
-	status)
-		statusproc /usr/bin/motion
-		;;
-
-	*)
-		echo "Usage: $0 {start|stop|restart|status}"
-		exit 1
-		;;
-esac
-
-# End $rc_base/init.d/motion
-- 
2.26.2

  reply	other threads:[~2021-05-17 21:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 21:55 [PATCH v2 00/11] Drop unmaintained or orphaned add-ons and packages, first batch Peter Müller
2021-05-17 21:55 ` [PATCH v2 01/11] Drop motion add-on Peter Müller
2021-05-17 21:56   ` [PATCH v2 02/11] Drop orphaned dependency add-on libmicrohttpd Peter Müller
2021-05-17 21:56     ` [PATCH v2 03/11] Drop Asterisk add-on Peter Müller
2021-05-17 21:56       ` [PATCH v2 04/11] Drop orphaned dependency "libsrtp" Peter Müller
2021-05-17 21:57         ` Peter Müller [this message]
2021-05-17 21:57           ` [PATCH v2 06/11] Drop SANE add-on Peter Müller
2021-05-17 21:57             ` [PATCH v2 07/11] Drop intltool add-on Peter Müller
2021-05-17 21:58               ` [PATCH v2 08/11] Drop miniupnpd add-on Peter Müller
2021-05-17 21:58                 ` [PATCH v2 09/11] Drop fbset Peter Müller
2021-05-17 21:58                   ` [PATCH v2 10/11] Drop sendEmail add-on Peter Müller
2021-05-17 21:59                     ` [PATCH v2 11/11] make.sh: Do no longer build fbset and sendEmail Peter Müller
2021-05-20  9:36               ` [PATCH v2 07/11] Drop intltool add-on Michael Tremer
2021-05-20 14:13                 ` Peter Müller
2021-05-20 14:14                   ` Michael Tremer

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=18f02f8f-10f3-f5fe-87b0-42bcaae6df32@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.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