ref: a873d8cd5240d4156f4b0961456c29b3b685d080
dir: /rachael/
#!/bin/rc
# 2025-11-13T20:57:34-05:00
rfork e
host=rachael.inri.net
vnc=192.168.1.202:0
fn keepalive { while(){ touch /n/rachael/tmp/o; sleep 30 } }
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 && keepalive &
case -v
rfork n
sshnet $host &&
window -m vncv $vnc &&
keepalive &
case *
label $host &&
ssh $host $*
}