tinc: add creation of hosts directory for each network configuration

Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
This commit is contained in:
Erwan MAS 2022-03-05 16:00:21 -05:00 committed by Rosen Penev
parent 9ffd55a993
commit fb99d50c1e
1 changed files with 1 additions and 1 deletions

View File

@ -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