ref: 1fd6a3738a4775ee3a326a31a750778c1d0ddda1
dir: /9front/
#!/bin/rc -x
# 2022-04-06T22:39:35-04:00
rfork e
host=9front.inri.net
auth=auth.inri.net
sys=`{echo $host | awk -F '.' '{print $1}'}
switch($1){
case -m
rimport -c -s $sys $host / /n/$sys
case *
if(~ $service cpu terminal){
label $sys
rcpu -h $host $*
}
if not
drawterm -h $host -a $auth $*
}