watchcat: fix operation of mode 'always'
authorascob <redacted>
Wed, 24 Aug 2016 13:47:58 +0000 (15:47 +0200)
committerascob <redacted>
Wed, 24 Aug 2016 13:47:58 +0000 (15:47 +0200)
commit6065f01ffac32c739c14b8f8b52e6ba07056ddb8
treebdce611f9e0b13d64027a43d2fbe21424e8fc10d
parent23d3148fc37cfdaa70a782e9dde3f84b89e7f11a
watchcat: fix operation of mode 'always'

This patch fixes the watchcat init script in case of mode 'always'.
This mode just needs the config parameters: mode, period and forcedelay.
But a wrong check against the variable pingperiod, needed in the mode 'ping'
prevented mode 'always' to work properly.

Signed-off-by: Tobias Ilte <redacted>
utils/watchcat/Makefile
utils/watchcat/files/initd_watchcat
git clone https://git.99rst.org/PROJECT