ref: e3fd8f1a5605ba41454588478a2bddf956cee5c5
dir: /gaff/
#!/bin/rc
# 2025-11-18T20:10:03-05:00
rfork e
host=gaff.inri.net
auth=auth.inri.net
sys=`{echo $host | awk -F '.' '{print $1}'}
switch($1){
case -b
gaff -c 'pager=() mother -b'
case -m
rimport -c -p -s $sys $host / /n/$sys
case *
if(~ $service cpu terminal){
label $sys
rcpu -h $host $*
}
if not
drawterm -h $host -a $auth $*
}