outsource network dependent settings
This commit is contained in:
7
network.fin
Normal file
7
network.fin
Normal file
@@ -0,0 +1,7 @@
|
||||
# setup mount points
|
||||
hostAdd ("fileserver","129.129.145.56")
|
||||
nfsMount ("fileserver", "/export/fin/ioc", "/ioc")
|
||||
nfsMount ("fileserver", "/export/fin/work", "/fin/work")
|
||||
nfsMount ("fileserver", "/export/fin/prod", "/fin/prod")
|
||||
nfsMount ("fileserver", "/export/fin/devl", "/fin/devl")
|
||||
nfsMount (&sysBootHost, "/home/ioc", "/home/ioc")
|
||||
19
network.sls
Normal file
19
network.sls
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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")
|
||||
5
network.trfcb
Normal file
5
network.trfcb
Normal file
@@ -0,0 +1,5 @@
|
||||
# setup mount points
|
||||
hostAdd ("fileserver","129.129.145.56")
|
||||
nfsMount ("fileserver", "/export/trfcb/ioc", "/ioc")
|
||||
nfsMount ("fileserver", "/export/trfcb/work", "/trfcb/work")
|
||||
nfsMount (&sysBootHost, "/home/ioc", "/home/ioc")
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user