From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cVk3h36Wzz2ykg for ; Mon, 22 Sep 2025 13:09:52 +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 (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cVk3h2rTKz2xMD for ; Mon, 22 Sep 2025 13:09:52 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "people01.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cVk3g0mmKzjs for ; Mon, 22 Sep 2025 13:09:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1758546591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=9D/9sUz1Xa+teQ/O0ea7NlwSivgChFbHy/v5v93wa6k=; b=C17SGdYQ6uQV2CiNYtwndJMpvwMr+RFHTu/aS26C4DbM/cP/kcZCI+dK1+2w8VC6JssuSE Q37BoAl44P1vtpAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1758546591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=9D/9sUz1Xa+teQ/O0ea7NlwSivgChFbHy/v5v93wa6k=; b=Caooc7J4FXIiFvZpYZ7Oh4Gm8TwMESSBirBgOanlLuSeqAkX1e2reupP5E3hfYvmuNQHIe zkRSVEn/YHRwny3LpRToYKfGmyqEnOj9CcsXrheJDf2SkpW3xnsmrXVCW/rQlE8JGCCmJ7 WIrv+bpe9NxdyHPlr8ly5Bf5uSi3mD4GfCI5Z2aL9AXzaWczvP3IKtwyARTrilnXH7TZrQ V+4VyaCDYpowU8Up/HAobPZSEc3C4GHkEZ6v4nLLxSeHTZR8w/d79WTkxQrdDhSz4n4QNa tGXEj48mrqXkJiuej3mh+IHWvnxnI86vP/psdAmMsOH4xFYQHvUQWGEtmbBcPg== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4cVk3f6Q8tz2xpx; Mon, 22 Sep 2025 13:09:50 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 8938a92229729aa0d1c078df2c34c4a125b765a8 X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: ed6a1a9504669c7cccab3fd81d600efd4905a317 X-Git-Newrev: 8938a92229729aa0d1c078df2c34c4a125b765a8 Message-Id: <4cVk3f6Q8tz2xpx@people01.haj.ipfire.org> Date: Mon, 22 Sep 2025 13:09:50 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 8938a92229729aa0d1c078df2c34c4a125b765a8 (commit) from ed6a1a9504669c7cccab3fd81d600efd4905a317 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8938a92229729aa0d1c078df2c34c4a125b765a8 Author: Michael Tremer Date: Mon Sep 22 14:08:26 2025 +0100 arpwatch: Add status command to the initscript This is not very reliable as the exit codes are not very clean, but it is good enough to tell the user on the terminal whether arpwatch is running and it will fix the web UI output. Fixes: #13874 - Arpwatch does not display correct status on service.cgi Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: src/initscripts/packages/arpwatch | 11 +++++++++++ 1 file changed, 11 insertions(+) Difference in files: diff --git a/src/initscripts/packages/arpwatch b/src/initscripts/packages/arpwatch index 09dcdf1ba..316cf3e71 100644 --- a/src/initscripts/packages/arpwatch +++ b/src/initscripts/packages/arpwatch @@ -74,6 +74,17 @@ case "${1}" in ${0} start ;; + status) + failed=0 + + for intf in ${INTERFACES}; do + PIDFILE="/var/run/arpwatch-${intf}.pid" \ + statusproc /usr/sbin/arpwatch || failed=$? + done + + exit ${failed} + ;; + *) echo "Usage: ${0} {start|stop|restart}" exit 1 hooks/post-receive -- IPFire 2.x development tree