ref: 5aa501870b9aa8095ae3bff7d39f55225a7b46b1
dir: /rc/bin/service/tcp565/
#!/bin/rc #whoami service net dir loc=`{cat $3/local|sed 's/!.*//'} rem=`{cat $3/remote} port=`{echo $rem|sed 's/^[^!]*!//'} rem=`{echo $rem|sed 's/!.*//'} echo i am $loc sysname $sysname you are $rem port $port