SysmoBTS: opkg, restart gpsdate
This might help to make sure the clock is correct before attempting opkg update
This commit is contained in:
parent
e8e75acdbf
commit
7e10a187ba
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/known-$RANDOM"
|
|||
|
||||
for bts in "${!BTS[@]}" ; do
|
||||
|
||||
ssh $SSH_OPTS root@${BTS[$bts]} "systemctl restart gpsdate"
|
||||
if [ "$(ssh $SSH_OPTS ${BTS[$bts]} 'grep 201705 /etc/opkg/base-feeds.conf >/dev/null; echo $?')" == "0" ] ; then
|
||||
grep OPKG_CREDS base-feeds-nightly.conf > /dev/null
|
||||
if [ "$?" == "0" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue