Add hack to set correct date with GPS
The GPS unit has a problem with rollover and is 1024 weeks behind, so bump the date forward after gpsdate sets it
This commit is contained in:
parent
1b23f4e558
commit
fd7cdfdcd9
2 changed files with 12 additions and 0 deletions
|
@ -56,6 +56,7 @@ for bts in "${!BTS[@]}" ; do
|
|||
ssh $SSH_OPTS root@${BTS[$bts]} "echo '$SITE-$bts' > /etc/hostname"
|
||||
scp $SSH_OPTS master/gpsd root@${BTS[$bts]}:/etc/default/gpsd
|
||||
scp $SSH_OPTS master/ntp.conf root@${BTS[$bts]}:/etc/ntp.conf
|
||||
scp $SSH_OPTS gpsdate.service root@${BTS[$bts]}:/lib/systemd/system
|
||||
fi
|
||||
|
||||
if [ "$_trxNR" == "0" ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue