projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da9987
)
zerotier: make sure the /var/lib exists
9937/head
author
Moritz Warning
<moritzwarning@web.de>
Sun, 8 Sep 2019 15:18:47 +0000
(17:18 +0200)
committer
Moritz Warning
<moritzwarning@web.de>
Sun, 8 Sep 2019 23:28:32 +0000
(
01:28
+0200)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/zerotier/files/etc/init.d/zerotier
patch
|
blob
|
history
diff --git
a/net/zerotier/files/etc/init.d/zerotier
b/net/zerotier/files/etc/init.d/zerotier
index dacb47c09a54a0af7bd08cbdbf4fd4d69ec72b2f..c308b4246ee53ffd45aff5b11a5cfa93743dd26c 100755
(executable)
--- a/
net/zerotier/files/etc/init.d/zerotier
+++ b/
net/zerotier/files/etc/init.d/zerotier
@@
-39,6
+39,9
@@
start_instance() {
return
fi
+ # ensure that the symlink target exists
+ mkdir -p $(dirname $path)
+
ln -s $config_path $path
fi