--- /usr/share/vdr/bin/vdrshutdown-really.sh 2018-02-03 21:49:38.396986229 +0100 +++ /usr/share/vdr/bin/vdrshutdown-really.sh 2018-02-03 21:56:48.519718246 +0100 @@ -45,7 +45,7 @@ : ${SHUTDOWN_DEFAULT_RETRY_TIME:=10} -if [ "${DEBUG}" -ge 1 ]; then +if [ "${DEBUG:-0}" -ge 1 ]; then exec /tmp/vdrshutdown-really.log 2>&1 echo Started debug output of $0 $@ nr=0 @@ -62,6 +62,7 @@ mesg() { svdrp_send MESG ${1} + logger -t mesg -p user.warn "$*" } is_auto_shutdown() {