summaryrefslogtreecommitdiff
path: root/appl/alphabet/getendpoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'appl/alphabet/getendpoint.sh')
-rwxr-xr-xappl/alphabet/getendpoint.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/appl/alphabet/getendpoint.sh b/appl/alphabet/getendpoint.sh
new file mode 100755
index 00000000..8d6cabd4
--- /dev/null
+++ b/appl/alphabet/getendpoint.sh
@@ -0,0 +1,13 @@
+#!/dis/sh -n
+autoload=std
+load std
+if{! ~ $#* 1}{
+ echo usage: getendpoint addr >[1=2]
+ raise usage
+}
+addr:=$1
+if{! ftest -e /n/endpoint/dsgdsfgeafreqeq}{
+ mount {mntgen} /n/endpoint
+}
+mount -A $addr /n/endpoint/$addr
+bind /n/endpoint/$addr /n/endpoint/local