|
Line
Link Here
|
| 0 |
-- /usr/share/vdr/bin/vdrshutdown-really.sh 2018-02-03 21:49:38.396986229 +0100 |
0 |
++ /usr/share/vdr/bin/vdrshutdown-really.sh 2018-02-03 21:56:48.519718246 +0100 |
|
Lines 45-51
Link Here
|
| 45 |
|
45 |
|
| 46 |
: ${SHUTDOWN_DEFAULT_RETRY_TIME:=10} |
46 |
: ${SHUTDOWN_DEFAULT_RETRY_TIME:=10} |
| 47 |
|
47 |
|
| 48 |
if [ "${DEBUG}" -ge 1 ]; then |
48 |
if [ "${DEBUG:-0}" -ge 1 ]; then |
| 49 |
exec </dev/null >/tmp/vdrshutdown-really.log 2>&1 |
49 |
exec </dev/null >/tmp/vdrshutdown-really.log 2>&1 |
| 50 |
echo Started debug output of $0 $@ |
50 |
echo Started debug output of $0 $@ |
| 51 |
nr=0 |
51 |
nr=0 |
|
Lines 62-67
Link Here
|
| 62 |
|
62 |
|
| 63 |
mesg() { |
63 |
mesg() { |
| 64 |
svdrp_send MESG ${1} |
64 |
svdrp_send MESG ${1} |
|
|
65 |
logger -t mesg -p user.warn "$*" |
| 65 |
} |
66 |
} |
| 66 |
|
67 |
|
| 67 |
is_auto_shutdown() { |
68 |
is_auto_shutdown() { |