Autor: Peter Boughton
Fecha:
A: Devuan Bug Tracking System
Asunto: [devuan-dev] bug#887: orphan-sysvinit-scripts: Confusing nftables
startup message
Package: orphan-sysvinit-scripts
Version: 0.07
Severity: minor
Tags: patch upstream
Dear Maintainer,
The current nftables script displays "Starting nftables: none" when
booting.
This is due to having the name as a description and no name variable.
The attached patch resolves this.
Thanks,
Peter Boughton
>From 2cfa9efd9038be265a27b667b3f5b8ee63c50dda Mon Sep 17 00:00:00 2001
From: Peter Boughton <debian@???>
Date: Wed, 9 Apr 2025 17:12:19 +0100
Subject: [PATCH] Fix name and desc for nftables init script.
This resolves confusing "Starting nftables: none" being displayed on startup.
---
scripts/nftables | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/nftables b/scripts/nftables
index ed36eb5..7dc439b 100755
--- a/scripts/nftables
+++ b/scripts/nftables
@@ -16,7 +16,8 @@ fi
# Author: Carsten Leonhardt <leo@???>
-DESC="nftables"
+DESC="netfilter firewall"
+NAME="nftables"
DAEMON=none
PIDFILE=none
NFT=/usr/sbin/nft
--
2.30.2