From a487bac8c20d1d3fdf092d8db64763273396251d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 Sep 2019 02:47:44 +0900 Subject: Add invite friend script --- rif-invitefriend.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 rif-invitefriend.sh (limited to 'rif-invitefriend.sh') diff --git a/rif-invitefriend.sh b/rif-invitefriend.sh new file mode 100755 index 0000000..6c63010 --- /dev/null +++ b/rif-invitefriend.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# 2019-09-10, Nico Schottelius, Seoul + +if [ $# -ne 4 ]; then + echo "$0: " + echo 'F.i. $0 nico ipv6@nico.ungleich.cloud https://your-url.example.com' + exit 1 +fi + +friend=$1; shift +email=$1; shift +url=$1; shift +name=$1; shift + +keyurl=$url/rifkeys +projecturl=https://code.ungleich.ch/nico/rif + +cat <