
;;;  Place something as the line below in your startup-sequence
;;;
;;;  newshell con:5/154/690/115/Tron   from   dh2:tron/startup


echo  "Tron BBS startup script"
echo  ""
echo  "Starting up nodes 0 & 1"
echo  ""



;;; All the references to actual drive names

assign  tron:           dh2:tron

;;; Short cuts to where I store my files , optional

assign  downloading:    dh1:downloading
assign  down.amiga:     dh1:down.amiga
assign  down.pc:        dh1:down.pc
; assign  CD0:            dh2:CD                ;CD rom emu for testing purpose




stack 40000

assign  doors:      tron:doors

path    tron:utils  tron:scripts  add


;;; Start up the Tron Resource Manager   ( add -i to iconize)


changetaskpri 2
cd tron:
run   tron:utils/tronRM   ;-i
wait 1
changetaskpri 0


;;; Start up GPFax if needed

; cd gpfax:
; run gpfax <nil: >nil: -b19200 -np -q -l -f5     ;38400/57600
; waitforport rexx_gpfax
; rx "address rexx_gpfax closeserial"

wait 1 secs


;;; Startup BBS node(s)

changetaskpri 1
cd tron:
run   tron:utils/bbs  -0 -i -d
wait 1

run   tron:utils/bbs  -1 -i -d
; run   tron:utils/bbs  -2 -i -d
; run   tron:utils/bbs  -3 -i -d
; run   tron:utils/bbs  -4 -i -d
; run   tron:utils/bbs  -5 -i -d
; run   tron:utils/bbs  -6 -i -d
; run   tron:utils/bbs  -7 -i -d
changetaskpri 0


;;; Install 'Rigth-Amiga FKeys' to Popup/ScreenToFront Nodes 0 & 1.

run TronHotkeys "HOTKEY0=rawkey rcommand f1" "HOTKEY1=rawkey rcommand f2"


;;; Startup a cron utility (FI CyberCron) to undertake certain actions
;;; at certain times , like call-out , maintenance scripts.

;run CyberCron >nil: CRONTAB  tron:cfg/CronTab  LOGFILE  tron:log/Cron.log

