;=====================================================================
;                    Ethernet startup with NFS
;=====================================================================

assign TCP: exists >nil:
if warn
  run >nil: AmiTCP:AmiTCP
  rexxc:waitforport AMITCP
  AmiTCP:bin/ifconfig lo0 localhost
  mount TCP: from AmiTCP:devs/inet-mountlist
  setenv USER bhabbott
  setenv USERNAME bhabbott
  setenv HOME ram:
  setenv HOSTNAME inhb.co.nz
endif

AmiTCP:bin/ifconfig cnet0 192.168.0.6    ; activate CNet card

stack 50000
amitcp:bin/ch_nfsmount ALL               ; start NFS to peecees

assign PIPE: exists >nil:
if warn
 mount pipe:                              ; pipe required by ls
endif

assign apache: AmiTCP:apache_1.0.5
assign bin: apache:bin
assign etc: AmiTCP:db
run >nil: AmiTCP:bin/inetd               ; start server(s)

