From: Erwan MAS Date: Sat, 5 Mar 2022 21:00:21 +0000 (-0500) Subject: tinc: add creation of hosts directory for each network configuration X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fb99d50c1edd4be765bef6d55bee26bfb90576b6;p=openwrt-packages.git tinc: add creation of hosts directory for each network configuration Signed-off-by: Erwan MAS --- 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