shithub: riscv

ref: abdb62608209861e52798c1225d8779c5cd96196
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 &