; $VER: AROSTCP-PackageStartup 1.4 (29.3.2012)
; AROSTCP-PackageStartup (c) The AROS Dev Team.
;
Path "C" "S" ADD QUIET

Protect S/startnet s add quiet
Protect S/stopnet s add quiet

if ${AROSTCP/AutoRun} eq "True"

  if ${AROSTCP/WirelessAutoRun} eq "True"
    Run <NIL: >NIL: C:WirelessManager ${AROSTCP/WirelessDevice}
  EndIf

  if ${AROSTCP/MobileAutorun} eq "True"
    Run <NIL: >NIL: C:ModemManager
  EndIf

  C:Execute S/startnet

  if EXISTS ENV:AROSTCP/ServerAutoMounts
    Mount ${AROSTCP/ServerAutoMounts} 
  EndIf
EndIf
