halt 325 B

123456789101112131415161718
  1. #!/bin/rc
  2. echo -n 'Halting file systems...'
  3. if(ps | grep -s ' venti$')
  4. venti/sync -h tcp!127.0.0.1!17034
  5. if(ps | grep -s ' fossil$'){
  6. echo fsys all halt >>/srv/fscons
  7. slay fossil|rc
  8. }
  9. echo done
  10. echo
  11. echo Remember to take the install disk out of the drive.
  12. echo Feel free to turn off your computer.
  13. while()
  14. sleep 3600