summaryrefslogtreecommitdiff
path: root/scripts/epgd-showtimer
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-10-04 10:38:40 +0200
committerhorchi <vdr@jwendel.de>2018-10-04 10:38:40 +0200
commite075382d665b60f0456cf9c3a6f6de120809cb2b (patch)
treeb9b665c61339fe5289f0cbef33e0e1568ce52b85 /scripts/epgd-showtimer
parente8781e497a86af36db0aa595f8322f2947815fc3 (diff)
downloadvdr-epg-daemon-e075382d665b60f0456cf9c3a6f6de120809cb2b.tar.gz
vdr-epg-daemon-e075382d665b60f0456cf9c3a6f6de120809cb2b.tar.bz2
2018-10-04: version 1.1.145 (horchi)\n change: Optimized mysql password handling in epgd scripts\n\n1.1.145
Diffstat (limited to 'scripts/epgd-showtimer')
-rwxr-xr-xscripts/epgd-showtimer3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/epgd-showtimer b/scripts/epgd-showtimer
index 5425caf..207283f 100755
--- a/scripts/epgd-showtimer
+++ b/scripts/epgd-showtimer
@@ -1,6 +1,7 @@
#!/bin/bash
-export MYSQL_PWD=epg
+MYSQL_PWD=${MYSQL_PWD:-epg}
+export MYSQL_PWD
if [ -z $1 ]; then
STATE="(t.state != 'D' or t.state is null)"