tinc: add creation of hosts directory for each network configuration
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
This commit is contained in:
parent
9ffd55a993
commit
fb99d50c1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue