From 43cca9cddc6e70f42533a995f0bd1569f006b533 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sun, 8 Sep 2019 17:18:47 +0200 Subject: [PATCH] zerotier: make sure the /var/lib exists Signed-off-by: Moritz Warning --- net/zerotier/files/etc/init.d/zerotier | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/zerotier/files/etc/init.d/zerotier b/net/zerotier/files/etc/init.d/zerotier index dacb47c09a..c308b4246e 100755 --- 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 -- 2.30.2