ref: 45617648bc7179ec433ad4c808b0ab93246849ed
dir: /bin/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/bin/bindbins && . $home/p/rc/bin/bindbins if(test -f $home/lib/ass){ auth/factotum setec } 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)$'