inside 427 B

12345678910111213141516171819
  1. #!/bin/rc
  2. ip/ipconfig
  3. # supply unknowns with inside addresses
  4. if( ! grep -s 'auth=' /net/ndb){
  5. echo ' auth=135.104.9.7'>>/net/ndb
  6. echo ' authdom=cs.bell-labs.com'>>/net/ndb
  7. }
  8. if( ! grep -s 'ntp=' /net/ndb)
  9. echo ' ntp=135.104.9.2'>>/net/ndb
  10. if( ! grep -s 'dns=' /net/ndb){
  11. echo ' dns=135.104.8.38'>>/net/ndb
  12. echo ' dns=135.104.70.11'>>/net/ndb
  13. }
  14. # start dns if it isn't already going
  15. if(! test -e /srv/dns )
  16. ndb/dns -r