home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 56 / af056sub.adf / parnfs.lha / QuickSetup < prev    next >
AmigaDOS Script File  |  1993-12-02  |  1KB  |  81 lines

  1. .key Server/S,Client/S,Amiga,Quiet/S
  2. .bra [
  3. .ket ]
  4. .def Amiga 1
  5.  
  6. ; $VER: QuickSetup 1.0 (18.11.1993)
  7. ; $Id: QuickSetup,v 1.3 1993/12/02 22:53:24 Rhialto Exp $
  8. ;
  9. ; User editable code is at the bottom of the file.
  10.  
  11. FailAt 10
  12. Stack 16384
  13.  
  14. cd ParNFS_Stuff:
  15.  
  16. ; Do setup on Amiga 1
  17. if "[Amiga]" eq "1"
  18.     if not [Client] eq ""
  19.     Mount NET: from Mountlist.Quick.2nd
  20.     endif
  21.     if not [Server] eq ""
  22.     run <NIL: >NIL: NetworkFileServer
  23.     endif
  24. endif
  25.  
  26. ; Do setup on Amiga 2
  27. if "[Amiga]" eq "2"
  28.     if not [Client] eq ""
  29.     Mount NET: from Mountlist.Quick.1st
  30.     endif
  31.     if not [Server] eq ""
  32.     run <NIL: >NIL: NetworkFileServer -s
  33.     endif
  34. endif
  35.  
  36. if not "[Client]" eq ""
  37.     if "[Quiet]" eq ""
  38.     Echo noline "Waiting for remote Amiga..."
  39.     endif
  40.     cd NET:Ram
  41.     cd NET:Ram
  42.     if "[Quiet]" eq ""
  43.     Echo " connected."
  44.     endif
  45.  
  46.     ;;;;;
  47.     ;
  48.     ; You may wish to uncomment some of the following lines
  49.     ; in order to create the appropriate directories on
  50.     ; the client side.
  51.  
  52.     ;if EXISTS NET:DH0
  53.     ;endif
  54.     ;if EXISTS NET:DH1
  55.     ;endif
  56.     ;if EXISTS NET:DH2
  57.     ;endif
  58.     ;if EXISTS NET:DH3
  59.     ;endif
  60.     ;if EXISTS NET:DH4
  61.     ;endif
  62.     ;if EXISTS NET:DH5
  63.     ;endif
  64.  
  65.     ;if EXISTS NET:DF0
  66.     ;endif
  67.     ;if EXISTS NET:DF1
  68.     ;endif
  69.     ;if EXISTS NET:DF2
  70.     ;endif
  71.     ;if EXISTS NET:DF3
  72.     ;endif
  73.  
  74.     ;if EXISTS NET:BOOT
  75.     ;endif
  76.     ;if EXISTS NET:FH0
  77.     ;endif
  78.     ;if EXISTS NET:FH1
  79.     ;endif
  80. endif
  81.