diff options
| author | Erwan MAS <erwan@mas.nom.fr> | 2022-03-05 16:00:21 -0500 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-03-08 21:56:52 -0800 |
| commit | fb99d50c1edd4be765bef6d55bee26bfb90576b6 (patch) | |
| tree | 7adc519be2c4847f76b717c372b4b1d3e6caf884 /net/tinc | |
| parent | 9ffd55a993d803cf5e834d9c2ed118fafb892e45 (diff) | |
tinc: add creation of hosts directory for each network configuration
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
Diffstat (limited to 'net/tinc')
| -rw-r--r-- | net/tinc/files/tinc.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
