shithub: rc

ref: c1a707427fbbb5129e467516fc671e976ee3e398
dir: /deckard/

View raw version
#!/bin/rc -x
# 2022-04-09T23:20:04-04:00
rfork e
host=deckard.inri.net
auth=auth.inri.net
sys=fs
switch($1){
case -g
	rimport -a $sys /srv &&
	hub gridchat
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 $*
}