home *** CD-ROM | disk | FTP | other *** search
/ DIGGERS & Oscar / Bundle.bin / scripts / dostartup
Encoding:
AmigaDOS Script File  |  1993-08-30  |  1.1 KB  |  61 lines

  1. .key demodrawer/a
  2. .bra [
  3. .ket ]
  4.  
  5.    failat 21
  6.  
  7. ; NOTE - assign was made resident by our startup-sequence
  8.  
  9.    CD0:c/assign c: CD0:c
  10.    assign OLDSYS: CD0:
  11.  
  12.    cd CD0:
  13.  
  14.    assign >NIL: APP: [demodrawer]
  15.  
  16.    echo  >ram:startup-prefix ".key dummy"
  17.    echo >>ram:startup-prefix ".bra {"
  18.    echo >>ram:startup-prefix ".ket }"
  19.    c:join ram:startup-prefix APP:s/startup-sequence as ram:cd-startup-sequence
  20.  
  21.    assign t: ram:
  22.  
  23.    assign OLDSYS:  SYS:
  24.    assign SYS:    APP:
  25.  
  26.    if exists APP:LIBS
  27.       assign LIBS:    APP:LIBS
  28.    endif
  29.    if exists APP:DEVS
  30.       assign DEVS:    APP:DEVS
  31.    endif
  32.    if exists APP:fonts
  33.       assign FONTS:    APP:fonts
  34.    endif
  35.    if exists APP:L
  36.       assign L:    APP:L
  37.    endif
  38.    if exists APP:s
  39.       assign S:    APP:S
  40.    endif
  41.    if exists APP:Locale
  42.       assign Locale: APP:Locale
  43.    endif
  44.    if exists APP:C
  45.       assign C:    APP:C
  46.    endif
  47.  
  48.    cd APP:
  49.  
  50.    OLDSYS:c/execute ram:cd-startup-sequence
  51.  
  52.    assign sys:    OLDSYS:
  53.    assign c:      SYS:c
  54.    assign s:      SYS:s
  55.    if exists SYS:Locale
  56.       assign Locale: SYS:Locale
  57.    endif
  58.    cd SYS:
  59.  
  60. cd0:bin/reboot
  61.