#!/bin/sh # Copyright (C) 2020 Tomasz Kramkowski # SDPX-License-Identifier: MIT . ./conf || exit 1 trap '. ./conf' HUP check laststatus=$? while :; do interval check status=$? if [ "$laststatus" -eq 0 ] && [ "$status" -ne 0 ]; then failed fi laststatus=$status done