- #!/bin/rc
- if(aux/isvmware -s){
- echo -n on >'#P/pge' # default, but set anyway.
- echo -n off >'#P/i8253timerset'
- for(i in '#S'/sd??)
- if(test -f $i/ctl)
- echo dma on >$i/ctl
- aux/vmwarefs
- if(! test -f /dev/snarf)
- aux/stub /dev/snarf
- bind /mnt/vmware/snarf /dev/snarf
- aux/vmmousepoll &
- }
|