49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
cd LIB
|
|
#required for ifenvsetnew:
|
|
ld < utilitiesLib.munch
|
|
# disable floating point exceptions
|
|
slsFppInit
|
|
|
|
# load EPICS system core
|
|
ld < iocCoreLibrary.munch
|
|
|
|
# load EPICS tools like "require"
|
|
ld < miscLib.munch
|
|
misc_registerRecordDeviceDriver
|
|
|
|
# next line allows to continue even if mounting of /ioc failed
|
|
cd bootInfo("%H:")
|
|
cd HOME
|
|
|
|
# insert boot infos into database
|
|
bootNotify (INSTBASE, "sls/bin/iocBootNotify.sh")
|
|
|
|
# setup logging
|
|
putenv(bootInfo("EPICS_IOC_LOG_INET=%h"))
|
|
putenv("EPICS_IOC_LOG_PORT=6500")
|
|
|
|
# try for user-defined menus scan and convert
|
|
dbLoadDatabase("dbd/scan.dbd")
|
|
dbLoadDatabase("dbd/convert.dbd")
|
|
dbLoadDatabase("dbd/slsConvert.dbd")
|
|
|
|
#load standard drivers
|
|
require "base"
|
|
require "symbDev"
|
|
require "seq"
|
|
|
|
# setup clock:
|
|
# 2010:
|
|
putenv("TIMEZONE=MET::-60:032802:103103")
|
|
# 2011: putenv("TIMEZONE=MET::-60:032702:103003")
|
|
# 2012: putenv("TIMEZONE=MET::-60:032502:102803")
|
|
ifenvsetnew(ifName(),"EPICS_TS_NTP_INET","129.129.190.1","172.19.11.101","172.20.10.10")
|
|
#require "generalTime","test"
|
|
#EvtTimeConfigure(master?, sync_rate_sec, clock_rate_hz, master_port, slave_port, time_out_msec)
|
|
#EvtTimeConfigure(0, 5, 500000, 18323, 18322, 250)
|
|
|
|
AUTOSRHOST=bootHost()
|
|
|
|
# $Id: R3.14.11,v 1.1 2010/01/04 12:43:59 zimoch Exp $
|
|
# end of startup.script_common
|