dot

packages and services management
Log | Files | Refs | README

commit d15f0332e772d53d22b006a9c3abcd1235d9dd75
parent 11a6c136bc4e75bb8289f55062d7c3be006f7412
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  6 Dec 2018 23:10:31 +0100

s6/host/t470s: add default for t470s

Diffstat:
Ms6/host/t470s/contents | 2++
Ms6/tor/x/setup | 5+++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/s6/host/t470s/contents b/s6/host/t470s/contents @@ -6,3 +6,5 @@ qmail-send ssh-agent,josuah ssh-agent,root tinysshd +tor +vtund,client,josuah.net,glaphyrae diff --git a/s6/tor/x/setup b/s6/tor/x/setup @@ -3,13 +3,14 @@ if { mkdir -p data } redirfd -w 1 data/conf -if { cd conf +if { if -t { test -d serv } cd conf forbacktickx x { ls } importas file x if { printf "%-20s " $file } cat $file } -if { cd serv + +if { if -t { test -d serv } cd serv forbacktickx x { ls } importas dir x if { printf "\n## %s ##\n\n" $dir } forbacktickx x { ls $dir } importas file x