shithub: rc

ref: f2359214718ae2ef5b29237a9dbf420a566452e3
dir: /rachael/

View raw version
#!/bin/rc
# 2025-11-14T22:11:24-05:00
rfork e
host=rachael.inri.net
vnc=192.168.1.202:0
switch($1){
case -f
	sshfs -o idmap'='user,allow_other,uid'='1000,gid'='1000 sl@rachael.inri.net:/ /n/rachael
case -m
	sshfs -s $host.$user.$pid -m /n/rachael -r / $user@$host && 
	while(){ touch /n/rachael/tmp/o; sleep 30 } &
case -v
	sshnet $host &&
		window -m vncv $vnc
case *
	label $host &&
	ssh $host $*
}