git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9ffd55a
)
tinc: add creation of hosts directory for each network configuration
author
Erwan MAS
<redacted>
Sat, 5 Mar 2022 21:00:21 +0000
(16:00 -0500)
committer
Rosen Penev
<redacted>
Wed, 9 Mar 2022 05:56:52 +0000
(21:56 -0800)
Signed-off-by: Erwan MAS <redacted>
net/tinc/files/tinc.init
patch
|
blob
|
history
diff --git
a/net/tinc/files/tinc.init
b/net/tinc/files/tinc.init
index ba2134fe0f680807bc2f20f7f05ec876351dbb3e..8823b97e74b604d1da325dfb4898f8375ce4075b 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT