dot

packages and services management
Log | Files | Refs | README

commit 0f3de5736050c7a90956d02927dcc478a544921b
parent e09f56ac58c7036cd62c828b9edec4a3432bf407
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon,  8 Jan 2018 02:30:51 +0100

tinc import-export

Diffstat:
Mbin/etc | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -27,6 +27,11 @@ case $1 in git clone josuah@josuah.net:srv/git/srv.git "$HOME/srv" cd "$HOME/srv" && make ;; +(tinc) + mkdir -p "$HOME/.config/tinc/josuah.net" + ssh "$1" '. "$HOME/.profile"; tinc -n josuah.net export' | + tinc -n josuah.net import + ;; (*) printf 'usage: etc [dot | mkdir | srv]\n' esac