aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh')
-rw-r--r--usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh b/usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh
index 4dc99d5..c20a5d8 100644
--- a/usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh
+++ b/usr/share/vdr/shutdown/pre-shutdown-99-periodic-thread.sh
@@ -7,8 +7,7 @@ PERIODIC_THREAD_ENDTIME=${shutdown_data_dir}/periodic_thread_last_ended
check_periodic_thread()
{
# test if periodic thread is activated
- : ${ENABLE_SHUTDOWN_PERIODIC_JOBS:=no}
- [ "${ENABLE_SHUTDOWN_PERIODIC_JOBS}" = "yes" ] || return
+ yesno "${ENABLE_SHUTDOWN_PERIODIC_JOBS}" || return
# when periodic-thread runs
if pidof -x vdrshutdown-periodic-thread.sh >/dev/null; then