summarylogtreecommitdiffstats
path: root/02-remove-state-dir.patch
blob: 741663b5e0d9ab54af4bdd061c9c7f46669a5576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/dist/debian/networking	2025-10-04 00:01:46.104929050 +0200
+++ b/dist/debian/networking	2025-10-04 00:02:13.562179568 +0200
@@ -6,13 +6,6 @@
 #  -- Maximilian Wilhelm <max@sdn.clinic>
 #
 
-STATE_DIR="/run/ifstate"
-
-# Make sure the state dir is present
-if [ ! -d "${STATE_DIR}" ]; then
-	mkdir "${STATE_DIR}"
-fi
-
 # Check for require binaries
 if [ ! -x /sbin/ifup -o ! -x /sbin/ifdown ]; then
 	echo "ifup and/or ifdown not found!" >&2