home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49b.iso / freebies / BeOS5-PersonalEdition / data1.cab / Data_Files / image.be / beos / system / boot / Netscript < prev    next >
Encoding:
Text File  |  2000-03-24  |  464 b   |  35 lines

  1. #
  2. #
  3. # This file is the network startup file.
  4. #
  5. #
  6.  
  7. start()
  8. {
  9.     if [ -f /boot/$1 ]; then
  10.         /boot/$1 $2 &
  11.     else
  12.         echo There is no $1
  13.     fi
  14. }
  15.  
  16. #
  17. # Synchronous start
  18. #
  19. startsync()
  20. {
  21.     if [ -f /boot/$1 ]; then
  22.         /boot/$1 $2 
  23.     else
  24.         echo There is no $1
  25.     fi
  26. }
  27.  
  28. start beos/system/servers/net_server
  29. startsync beos/system/servers/net_server -waitstart
  30. start beos/bin/dhcp_client -E        
  31. start beos/bin/ftpd -E
  32. start beos/bin/telnetd -E
  33. start beos/system/servers/mail_daemon -E 
  34.  
  35.