dot

packages and services management
Log | Files | Refs | README

commit 74af3b9e02ec52fecdb1e641ef20f533ca8c2859
parent ee05c1b14b851b50feb4a81ac54fe6840be45471
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 30 Jan 2018 14:14:50 +0100

generate host-specific configuration at startup if not present

Diffstat:
Mdaemon/tincd | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/daemon/tincd b/daemon/tincd @@ -2,6 +2,9 @@ netw="${1:-josuah.net}" +[ -r "${ETC}/config/tinc/${netw}/hosts/$(uname -n)" ] || +tinc -n "${netw}" init "$(uname -n)" + exec tincd \ -n "${netw}" \ 1> "${VAR}/tinc" \