From fb99d50c1edd4be765bef6d55bee26bfb90576b6 Mon Sep 17 00:00:00 2001 From: Erwan MAS Date: Sat, 5 Mar 2022 16:00:21 -0500 Subject: [PATCH] tinc: add creation of hosts directory for each network configuration Signed-off-by: Erwan MAS --- net/tinc/files/tinc.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tinc/files/tinc.init b/net/tinc/files/tinc.init index ba2134fe0..8823b97e7 100644 --- a/net/tinc/files/tinc.init +++ b/net/tinc/files/tinc.init @@ -156,7 +156,7 @@ prepare_net() { section_enabled "$s" || return 1 [ -d "$TMP_TINC/$s" ] && rm -rf "$TMP_TINC/$s/" - mkdir -p "$TMP_TINC/$s" + mkdir -p "$TMP_TINC/$s/hosts" [ -d "/etc/tinc/$s" ] && cp -r "/etc/tinc/$s" "$TMP_TINC/" # append flags