Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #this prompts you to the enter the lane number
- echo What number lane is this?
- read laneNumber
- echo What is the Antenna Channel Value?
- read antennaChannelValue
- #this prompts you to enter your values for SEGO
- echo enter your SEGO values 'xx|xx'
- read segoValues
- #this prompts you to enter your values for IAG
- echo enter your IAG values 'xx|xx'
- read iagValues
- #this prompts you to enter your values for 6c
- echo enter your 6C values 'xx|xx'
- read sixcValues
- #this prompts you to enter your freq uplink
- echo enter your Frequency Uplink '(5 digit number)'
- read freqUpLink
- #this prompts you to enter your freq uplink
- echo enter your Frequency Downlink '(5 digit number)'
- read freqDownLink
- #this prompts you to enter the iag slot number for the hex line
- echo Enter your IAG Slot Number '(1 digit number)'
- read iagSlotNumber
- #this prompts you to enter the plaza hex number
- echo Enter your Plaza Hex Number '(3 digit number)'
- read plazaHex
- #this prompts you to enter the plaza hex shift
- echo Enter your Plaza Hex Shift '(2 digit number)'
- read plazaHexShift
- #this prompts you to enter the lane hex number
- echo Enter your Lane Hex Number '(2 digit number)'
- read laneHex
- #this prints the text below to a file
- cat <<EOT >> board0.ini
- [TrafficSettings1]
- LaneNumber=$laneNumber
- CrossLaneAddress=
- AntennaChannelValue=$antennaChannelValue
- AttenuationValues=15|15|$segoValues|$iagValues|99|99|99|99|0|0|99|99|99|$sixcValues
- #AttenuationValues=15|15|10|10|15|15|99|99|99|99|0|0|99|99|99|99
- [TrafficSettings2]
- LaneNumber=0
- CrossLaneAddress=
- AntennaChannelValue=0x0006
- AttenuationValues=14|14|10|10|15|15|99|99|99|99|0|0|99|99|99|99
- [Settings]
- LogAVIEnabled=1
- IsPrimary=1
- TVLLookupEnabled=1
- ReaderConfiguration=SPLIT #DO NOT MODIFY THIS LINE
- ReaderDeviceName=UDP10.1.90.10:58000
- #|2-:2101|-:2101|-:2101
- ReaderFrequencyUplink=$freqUpLink
- ReaderFrequencyDownlink=$freqDownLink
- ReaderTDMDataTdm_control=1
- ReaderTDMDataTdm_ReaderSlotNumber=0
- ReaderTDMDataTransaction_delay=0
- ReaderTDMDataTransaction_duration=0
- ReaderTDMDataSynchronization_per=72
- ReaderTDMDataTransaction_initialization=1
- E6LineLoss=2
- E6DataDetects=2|0|2|2|2|2|2|2
- E6AppendDatetime=1
- E6SeenCounters=5|100|5|1000|2|1000|2|1000|2|1000
- E6RetryCounters=5|5|5|5|5|5|5|5|5|5|5|5
- E6OtherSettings=2|0000000000000000000000000050071508000000000000S12|1${iagSlotNumber}03000000${plazaHex}038${plazaHexShift}${laneHex}0000000000000000|0000|MEA #See E6AVI SSI doc Sec 17 (BC)
- M4StraddleFlags=2
- M4AgencyID=19
- M4ReaderID=202
- M4MasterSyncFlags=??
- M4OtherSettings=??990589???????
- GPSEnabled=0
- NormalOperationMode=0
- E6T21ProtocolSlot=1
- EnableAdjacentMoms=0
- ReportFileControlIDLatestFileTimeStamp=0
- SetStripeAntennaOnOff=0
- [Common]
- PlazaNumber=25
- LaneType=2
- AlternateTagDisplayPage=6
- NormalModeTagGenAckSleepTime=1
- UseChecktagLogicFlag=0
- TagRead2TimeoutLength=30
- TagAutoWriteTimeoutLength=25
- TagMannedWriteTimeoutLength=100
- MannedModeWaitToWriteTimeout=90
- FareSched=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
- WaitWriteTimeout1=100
- WaitWriteTimeout2=100
- TagExpireTime=10
- TagExpireCount=0
- OfflineProcOption=1
- WriteFailsToResetOn=8
- ResetOnWriteFails=1
- ReportCommercialWritebacks=1
- ReportNonRevenueWritebacks=1
- ORTEnabled=0
- ORTGenAckDelayPeriod=0
- ORTPortNumber=8300
- ORTTimeValue=30
- EmissionEnabled=0
- CheckTag_Period=5000
- IgnoreTagReReadTimeLimit=20
- GPSEnabled=0
- BufferedTagModeBits=0x4444
- ZoneNumber=40
- SettingID=17
- StripeTagTimeoutFlag=0
- #Comments
- #1. DelDOT reader device name
- #NTCPxxx.xxx.xxx.xxx:NNNNN|N-:NNNNN|SYNCCMDSxxx,xxx,xxx,xxx,xxx,xxx|TCPxxx.xxx.xxx.xxx:NNNNN|-:NNNNN
- #N - com port number on Mark IV used for MPX
- #TCPxxx.xxx.xxx.xxx - IP address of port server, '-' means using last address in this string.
- #NNNNN - port number connected to port server, start from 2101 to 2108
- #SYNCCMDSxxx,xxx,xxx,xxx,xxx,xxx - different sync command other than default, can be NULL.
- TagRead1TimeoutLength=30000
- IncludeAgencyInTagNumber=2
- SendLaneNumberWithStatus=256
- InfinityTagClassFromLookupFile=0
- HovProcOption=0
- SetNonRevenueToValid=0
- TvlMomsMaxHour=30
- TvlMomsChangedSize=0
- TvlMomsMinimumFreeSpace=2000"
- EOT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement