ref: c240c428481aa4cd9aadeb95833161b52efc1e96
dir: /bin/rwin/
#!/bin/rc rfork en if(test -f /mnt/acme/index){ # in acme unmount /acme/bin/amd64 /bin unmount /acme/bin /bin tag=`{cat /mnt/acme/$winid/tag} dir=`{basename -d $tag(1)} } if not{ # in sam dir=`{basename -d $%} } exec window -m -cd $dir $*