home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Netzwerk / ACS6.DMS / in.adf / s / Startup-Sequence < prev    next >
Encoding:
Text File  |  1992-02-03  |  1.4 KB  |  57 lines

  1. ; Startup sequence for Amiga Client Software users.
  2. ;
  3. ; Script checks to see if a successful Login occured.  If so,
  4. ; then transfers control to the server.
  5. ;
  6. ; NOTE: Script currently assumes that there is a valid AmigaDOS
  7. ; file system located at
  8. ;       nd0:Public/Amiga/Workbench1.3
  9. ;
  10. ; Please -- before you edit this file, study it.
  11. ;
  12.  
  13. echo "Amiga Client Software for Novell NetWare Disk"
  14. setpatch >nil:
  15. SYS:System/FastMemFirst
  16. binddrivers
  17. assign Network: sys:network
  18. path Network:
  19. SetClock load ;load system time from real time clock (A1000 owners should
  20.               ;replace the SetClock load with Date)
  21.  
  22. makedir ram:tr
  23. assign t: ram:tr
  24.  
  25. failat 25
  26. login -s
  27. network:IsLoggedIn
  28. IF WARN
  29. IF exists nd0:Public/Amiga/Workbench1.3
  30.     map sys: nd0:Public/Amiga/Workbench1.3
  31.     map c: sys:c
  32.     map L: sys:l
  33.     map Fonts: sys:fonts
  34.     map s: sys:s
  35.     map devs: sys:devs
  36.     map libs: sys:libs
  37.     map Network: sys:Network
  38.     path reset Network: sys:Network
  39. ENDIF
  40. ENDIF
  41.  
  42. Addbuffers df0: 10
  43. cd c:
  44. FF >NIL: -0 ;speed up Text
  45. resident CLI L:Shell-Seg SYSTEM pure add ;activate Shell
  46. resident c:Execute pure
  47. mount newcon:
  48.  
  49. failat 11
  50. run execute s:StartupII ;This lets resident be used for rest of script
  51. wait >NIL: 5 mins ;Wait for StartupII to complete (will signal when done)
  52.  
  53. SYS:System/SetMap usa1 ;Activate the ()/* on keypad
  54. path ram: c: sys:utilities sys:system s: sys:prefs add ;Set Workbench path
  55. LoadWB delay  ;Wait for inhibit to end before continuing
  56. endcli >NIL:
  57.