From patchwork Mon May 17 21:57:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 4331 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FkXzj6gbNz3wbb for ; Mon, 17 May 2021 21:57:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FkXzj3rJMz6Pc; Mon, 17 May 2021 21:57:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FkXzj37qrz2yF0; Mon, 17 May 2021 21:57:21 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FkXzh52SLz2xd6 for ; Mon, 17 May 2021 21:57:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FkXzg6xbGz1TW for ; Mon, 17 May 2021 21:57:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1621288640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X2YCkSxgHcLyKyZfc6EzOwDMCiK/lJ84mUGnseJwNhk=; b=4KG82SnjwQsydd7iqcXFLc3KUPY6u/fZVtGCLhk45SQufjHQ6yn6LWNZHuvA56Au8O/m3t vqVe5edZzo8xGEBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1621288640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X2YCkSxgHcLyKyZfc6EzOwDMCiK/lJ84mUGnseJwNhk=; b=rkHdkeAf6SKqSGIdUNR1bNcpHwmVi3HbTlD7vMlT4rMDu4yJCMd89keOESF0Np8td+sZVh oJ5Npx21tOpriJAhAmiyIlt2S8zo/7jr8e0Dd92vhZ0DcVrDQrqC6Iy8VkEYcdZCY4nRA7 ipQsQjOtLpWMDHUpW5dZqU8dOlX4SeVF/w50d41sVfa9Qt8Iecl8oQt9ncZaMxhmxc7Wa3 iX5tuyXrLKa1Sk6609/WEJjqabGn9oFzOjAw7tGUsPjD1guHUuH5H+9WHmeOAgBXEE3qdu 2akvWO4VEtbcPvOK75N6eDxNvHnWylwJjZZ99fd/SNaYnmdP29kHiZPsj6yWkQ== Subject: [PATCH v2 05/11] Zut alors, delete motion initiscript as well :-/ To: development@lists.ipfire.org References: <52820aff-40b7-1aae-17a8-34c97276fe60@ipfire.org> <44b9848d-7f27-2258-4115-daa395ad9e8c@ipfire.org> <695af3d4-68c4-a1f8-2fd8-4008eb3f9b31@ipfire.org> <35d26ef9-e2d2-95fd-9320-79e056e28202@ipfire.org> <7cf1c835-9ac7-6f5c-5b07-a0ebba6dd93f@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= Message-ID: <18f02f8f-10f3-f5fe-87b0-42bcaae6df32@ipfire.org> Date: Mon, 17 May 2021 23:57:18 +0200 MIME-Version: 1.0 In-Reply-To: <7cf1c835-9ac7-6f5c-5b07-a0ebba6dd93f@ipfire.org> Content-Language: en-US X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Peter Müller --- 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