vmware 298 B

123456789101112131415
  1. #!/bin/rc
  2. if(aux/isvmware -s){
  3. echo -n on >'#P/pge' # default, but set anyway.
  4. echo -n off >'#P/i8253timerset'
  5. for(i in '#S'/sd??)
  6. if(test -f $i/ctl)
  7. echo dma on >$i/ctl
  8. aux/vmwarefs
  9. if(! test -f /dev/snarf)
  10. aux/stub /dev/snarf
  11. bind /mnt/vmware/snarf /dev/snarf
  12. aux/vmmousepoll &
  13. }