finish 266 B

12345678910111213141516171819
  1. #!/bin/rc
  2. # desc: finish the installation and reboot
  3. # prereq: bootsetup
  4. # mustdo:
  5. switch($1) {
  6. case checkdone
  7. finish=ready
  8. export finish
  9. case go
  10. if(~ $cdboot yes){
  11. echo 'Congratulations; you''ve completed the install.'
  12. echo
  13. halt
  14. }
  15. stop go finished
  16. }