Subject: orphan-sysvinit-scripts: Confusing nftables startup message

From: Peter Boughton <[email-masked]>
Date: Wed, 09 Apr 2025 18:29:15 +0100

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 <[email-masked]>
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 <[email-masked]>
 
-DESC="nftables"
+DESC="netfilter firewall"
+NAME="nftables"
 DAEMON=none
 PIDFILE=none
 NFT=/usr/sbin/nft
-- 
2.30.2