summaryrefslogtreecommitdiff
path: root/appl/alphabet/getendpoint.sh
blob: 8d6cabd454ddb2045a9278763f92fa4bcc3b071d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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