From 7a735a765e91efd2b25dfade31056522796867b0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 25 Apr 2025 11:51:42 +0200 Subject: [PATCH] core195: Create an empty set of wireguard configuration files Signed-off-by: Michael Tremer --- config/rootfiles/core/195/update.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/195/update.sh b/config/rootfiles/core/195/update.sh index eb7a672b9..d1194ec69 100644 --- a/config/rootfiles/core/195/update.sh +++ b/config/rootfiles/core/195/update.sh @@ -44,7 +44,13 @@ ldconfig # Create the Wireguard configuration directory if [ ! -d "/var/ipfire/wireguard" ]; then mkdir -pv "/var/ipfire/wireguard" - chown nobody:nobody "/var/ipfire/wireguard" + + # Create some configuration files + touch /var/ipfire/wireguard/peers + touch /var/ipfire/wireguard/settings + + # Everything needs to belong to nobody + chown -Rv nobody:nobody "/var/ipfire/wireguard" fi # Update Language cache -- 2.39.5