#!/usr/bin/env bash

while [ 1 ];
do
    ./ncsyncchk.sh
    ncsync=$(cat /tmp/ncsync)
    if rg -q "Syncing" /tmp/ncsync
    then
        echo true
    else
        echo false
    fi
    sleep 10
done
