sysinit.soc (1230B)
1 # 2 # 3 # 4 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 5 # 6 # Copyright 2007-2019 Broadcom Inc. All rights reserved. 7 # 8 # sysinit.soc 9 # 10 # This file is optional. For VxWorks, it normally resides in 11 # flash:sysinit.soc, and is activated by setting the value of the 12 # "boot script" boot ROM parameter to "flash:sysinit.soc". 13 # 14 # If activated, sysinit.soc is executed a single time when the BCM 15 # image boots, before the rc.soc file is loaded on each unit. 16 # 17 # See below for sample contents (must be customized per installation). 18 # A typical use is to make host table entries, NFS mounts, and/or change 19 # the SAL home directory (see $SDK/doc/NFS.txt for more info). 20 # 21 22 host add fs-sj1-20 10.16.128.50 23 host add fs-sj1-35 10.16.128.65 24 host add fs-sj1-07 10.16.128.37 25 host add fs-sj1-15 10.16.128.45 26 nfs auth fs-sj1-35 10011 20 27 nfs auth fs-sj1-20 10012 20 28 nfs auth fs-sj1-07 4059 20 29 nfs auth fs-sj1-15 4059 20 30 nfs mount fs-sj1-35:/vol/vol3/ntsw-labguy /home/labguy 31 #nfs mount fs-sj1-20:/vol/vol2/home2/sdk /home/sdk 32 nfs mount fs-sj1-07:/vol/vol6/ntsw-sw2 /projects/ntsw-sw2 33 nfs mount fs-sj1-15:/vol/vol0/ntsw-sw /projects/ntsw-sw 34 cd -sethome /home/sdk 35