configdist 400 B

12345678910111213141516171819202122
  1. #!/bin/rc
  2. # prereq: mountfs
  3. # desc: choose the source of the distribution archive
  4. switch($1){
  5. case checkdone
  6. if(! ~ $distisfrom net local){
  7. configdist=ready
  8. export configdist
  9. }
  10. case go
  11. echo 'Are you going to download the distribution'
  12. echo 'from the internet or do you have it on local media?'
  13. echo
  14. prompt -d local 'Distribution is from' local net
  15. distisfrom=$rd
  16. export distisfrom
  17. }