outside 550 B

123456789101112131415161718192021222324
  1. #!/bin/rc
  2. ip/ipconfig -dDG
  3. # supply unknowns with outside addresses
  4. if( ! grep -s 'auth=' /net/ndb){
  5. echo ' auth=204.178.31.3'>>/net/ndb
  6. echo ' authdom=cs.bell-labs.com'>>/net/ndb
  7. }
  8. if( ! grep -s 'ntp=' /net/ndb)
  9. echo ' ntp=204.178.31.2'>>/net/ndb
  10. if( ! grep -s 'dns=' /net/ndb){
  11. echo ' dns=204.178.31.3'>>/net/ndb
  12. echo ' dns=204.178.31.4'>>/net/ndb
  13. }
  14. # set ndbfile for termrc touse
  15. NDBFILE=/lib/ndb/external
  16. # start dns if it isn't already going
  17. if(! test -e /srv/dns )
  18. ndb/dns -r
  19. # just in case we can't find achille
  20. cpu=tcp!204.178.31.2