outsource network dependent settings

This commit is contained in:
zimoch
2011-05-27 13:35:44 +00:00
parent daadd0fd32
commit 1f99f54d96
4 changed files with 32 additions and 19 deletions
+1 -19
View File
@@ -8,25 +8,7 @@
# * EPICS the epics release (e.g "R3.13.9")
# * ARCH the vxWorks architecture (e.g. "T1-ppc604")
# Accept SLSBASE or INSTBASE
PBASE=0
symFindByName(sysSymTbl,"INSTBASE",&PBASE,0)
symFindByName(sysSymTbl,"SLSBASE",&PBASE,0)
SLSBASE=*PBASE
INSTBASE=*PBASE
# Router for SLS machine net (fails otherwise but that's ok)
routeAdd ("0.0.0.0","172.20.10.1")
# setup mount points (try both possible locations for /ioc)
hostAdd ("slsfs","129.129.145.52")
nfsMount (&sysBootHost, "/home/ioc", "/home/ioc")
nfsMount (&sysBootHost, "/ioc", "/ioc")
nfsMount ("slsfs", "/export/csa/releases/ioc", "/ioc")
nfsMount ("slsfs","/export/csa/releases/work","/work")
nfsMount ("slsfs","/export/csa/releases/prod","/prod")
nfsMount ("slsfs","/export/csa/releases/devl","/devl")
nfsMount ("slsfs","/export/exchange","/exchange")
< network
STRINGBUFFER=malloc(256)