ref: f4dc6ffd65c4b80c7efbf29213176cfd1d73b1ab
dir: /cpurio/
#!/bin/rc if(! ~ $sysname aib && ~ `{ns | grep '#v'} ''){ screenrc echo softscreen off >'#v/vgactl' echo hwaccel on >'#v/vgactl' } rfork efns # weeeee font=/lib/font/bit/uga.font bind -a '#A' /dev bind -c $home/tmp /tmp bind -a $home/bin/rc /bin bind -a $home/bin/$cputype /bin test -f $home/p/rc/bindbins && . $home/p/rc/bindbins if(! ~ $sysname aib && test -f /tmp/sk){ auth/factotum auth/aescbc -d </tmp/sk | read -m >/mnt/factotum/ctl } webcookies webfs plumber switch($sysname){ case w500 echo pin 22 >'#A'/audioctl echo inpin 23 >'#A'/audioctl case hsw echo pin 27 >'#A/audioctl' echo inpin 25 >'#A'/audioctl } if(! ~ $sysname aib) echo master 40 >'#A/volume' echo accelerated 3 >'#m'/mousectl prompt=('; ' ' ') rio -i riostart # might be nice to do dontkill '^(rio|rc)$'