summaryrefslogtreecommitdiff
path: root/scripts/epgd-showtimerat
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/epgd-showtimerat')
-rwxr-xr-xscripts/epgd-showtimerat3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/epgd-showtimerat b/scripts/epgd-showtimerat
index bdc6d1d..57c579c 100755
--- a/scripts/epgd-showtimerat
+++ b/scripts/epgd-showtimerat
@@ -1,6 +1,7 @@
#!/bin/bash
-export MYSQL_PWD=epg
+MYSQL_PWD=${MYSQL_PWD:-epg}
+export MYSQL_PWD
mysql -u epg2vdr -Depg2vdr -e " \
select t.id, SUBSTRING_INDEX(t.channelid, '-', 3) as transponder, v.name, t.source, t.channelid, t.state as S, \