From e075382d665b60f0456cf9c3a6f6de120809cb2b Mon Sep 17 00:00:00 2001 From: horchi Date: Thu, 4 Oct 2018 10:38:40 +0200 Subject: 2018-10-04: version 1.1.145 (horchi)\n change: Optimized mysql password handling in epgd scripts\n\n --- scripts/epgd-showtimerat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/epgd-showtimerat') 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, \ -- cgit v1.2.3