shithub: riscv

ref: b2cd4959fe3695d317b6b75956da55a7f77ed858
dir: /rc/bin/tlssrvtunnel/

View raw version
#!/bin/rc

if(! ~ $#* 3){
	echo 'usage: tlssrvtunnel plainaddr cryptaddr cert.pem' >[1=2]
	exit usage
}
aux/listen1 -tv $2 /bin/tlssrv -c $3 -llisten /bin/aux/trampoline $1 &