home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / networking / amitcp / startnet.lzh / startnet < prev   
Encoding:
Text File  |  1994-06-25  |  689 b   |  30 lines

  1. ; Alternative startnet script
  2.  
  3. ; Start AmiTCP up
  4. run >NIL: amitcp:amitcp
  5. sys:rexxc/WaitForPort AMITCP
  6.  
  7. ; Setup local host loopback
  8. AmiTCP:bin/ifconfig lo0 localhost
  9. ; Dummy route to our host
  10. AmiTCP:bin/route >NIL: add $HOSTNAME localhost
  11.  
  12. ; I like to have TCP: mounted so I can copy files to people
  13. Assign TCP: Exists > NIL:
  14. IF Warn
  15.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  16. EndIf
  17.  
  18. ; Start the inet daemon
  19. run >NIL: AmiTCP:bin/inetd
  20. ; stack 8192 ; reduce size of stack for smtpd
  21. run >NIL: AmiTCP:bin/SMTPd
  22.  
  23. ; Make sure gwcslip is considered _down_
  24. amitcp:bin/offline devs:networks/gwcslip.device 0
  25.  
  26. ; Forcibly log in as the default user
  27. amitcp:bin/login >NIL: -f $USER
  28.  
  29. ; End of script
  30.