diff options
author | 2013-03-16 00:45:46 +0100 | |
---|---|---|
committer | 2013-03-16 00:45:46 +0100 | |
commit | 69d7aebabe305ca69665b9e36add62c948cce5f4 (patch) | |
tree | e60d45a2fa119910b2574e090a745206385f7fe8 /usr | |
parent | Bumped to version 2.0.0_rc1 (diff) | |
download | gentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.tar.gz gentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.tar.bz2 gentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.zip |
better default handling for value EPGFILE, thx to sirwio@vdr-portal.de on #post 1132342
Diffstat (limited to 'usr')
-rw-r--r-- | usr/share/vdr/rcscript/pre-start-30-parameter.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/share/vdr/rcscript/pre-start-30-parameter.sh b/usr/share/vdr/rcscript/pre-start-30-parameter.sh index a142ace..63ee1c1 100644 --- a/usr/share/vdr/rcscript/pre-start-30-parameter.sh +++ b/usr/share/vdr/rcscript/pre-start-30-parameter.sh @@ -12,7 +12,7 @@ addon_main() { yesno "${MUTE}" && add_param "--mute" [ -n "${CONFIG}" ] && add_param "--config=${CONFIG}" [ -n "${DEVICE}" ] && for i in ${DEVICE}; do add_param "--device=${i}"; done - add_param "--epgfile=${EPGFILE:--E-}" + [ -n "${EPGFILE}" ] && add_param "--epgfile=${EPGFILE}" add_param "--cachedir=${CACHEDIR:-/var/cache/vdr}" add_param "--log=${LOG:-1}" [ -z "${VIDEO}" ] && VIDEO="/var/vdr/video" |