shithub: rc

ref: b37f3b14f650cdee89f44378fa3b5dd2b5daf567
dir: /9front/

View raw version
#!/bin/rc
# 2025-11-18T20:11:20-05: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 $*
}