diff --git a/network.fin b/network.fin new file mode 100644 index 0000000..a7b68e3 --- /dev/null +++ b/network.fin @@ -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") diff --git a/network.sls b/network.sls new file mode 100644 index 0000000..e1de783 --- /dev/null +++ b/network.sls @@ -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") diff --git a/network.trfcb b/network.trfcb new file mode 100644 index 0000000..597f23b --- /dev/null +++ b/network.trfcb @@ -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") diff --git a/startup.script_common b/startup.script_common index 3e51730..f61cc4b 100644 --- a/startup.script_common +++ b/startup.script_common @@ -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)