From: Michael Tremer Date: Fri, 25 Apr 2025 09:51:42 +0000 (+0200) Subject: core195: Create an empty set of wireguard configuration files X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a735a765e91efd2b25dfade31056522796867b0;p=people%2Fms%2Fipfire-2.x.git core195: Create an empty set of wireguard configuration files Signed-off-by: Michael Tremer --- 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