From 37da2899f40661e3e9631e497da8dc59b971cbd0 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 17:07:39 +0000 Subject: 20060303a --- appl/alphabet/mkendpoint.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 appl/alphabet/mkendpoint.sh (limited to 'appl/alphabet/mkendpoint.sh') diff --git a/appl/alphabet/mkendpoint.sh b/appl/alphabet/mkendpoint.sh new file mode 100755 index 00000000..bfd4800b --- /dev/null +++ b/appl/alphabet/mkendpoint.sh @@ -0,0 +1,14 @@ +#!/dis/sh -n +autoload=std +load std +if{! ~ $#* 1}{ + echo usage: mkendpoint addr >[1=2] + raise usage +} +addr:=$1 +if{! ftest -e /n/endpoint/dsgdsfgeafreqeq}{ + mount {mntgen} /n/endpoint +} +mount {pctl forkns; alphabet/endpointsrv $addr /n; export /n} /n/endpoint/$addr +bind /n/endpoint/$addr /n/endpoint/local +styxlisten -A $addr {export /n/endpoint/local} -- cgit v1.2.3