Browse Source

tinc: add creation of hosts directory for each network configuration

Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
lilik-openwrt-22.03
Erwan MAS 3 years ago
committed by Rosen Penev
parent
commit
fb99d50c1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/tinc/files/tinc.init

+ 1
- 1
net/tinc/files/tinc.init View File

@ -156,7 +156,7 @@ prepare_net() {
section_enabled "$s" || return 1 section_enabled "$s" || return 1
[ -d "$TMP_TINC/$s" ] && rm -rf "$TMP_TINC/$s/" [ -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/" [ -d "/etc/tinc/$s" ] && cp -r "/etc/tinc/$s" "$TMP_TINC/"
# append flags # append flags


Loading…
Cancel
Save