I believe something as simple, as this would do:

From ce28f12b7682fc5750fe225ac563cacfdcf81ff0 Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <kact...@debian.org>
Date: Sat, 9 Mar 2019 20:48:07 +0000
Subject: [PATCH] Document NETDOWN variable in /etc/default/halt

---
 debian/src/initscripts/etc/default/halt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/src/initscripts/etc/default/halt 
b/debian/src/initscripts/etc/default/halt
index 21bc1198..596b829e 100644
--- a/debian/src/initscripts/etc/default/halt
+++ b/debian/src/initscripts/etc/default/halt
@@ -1,2 +1,5 @@
 # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
 HALT=poweroff
+
+# Bring networking down before halting/rebooting system. Set to "yes" or "no".
+NETDOWN=yes
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --

Attachment: pgpvATqt_L1w5.pgp
Description: PGP signature

Reply via email to