1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Modified runvdr.template to improve compatibility with the "bash" and "dash" shells

This commit is contained in:
Klaus Schmidinger 2015-02-05 10:43:42 +01:00
parent b3b0747328
commit 9c9e200df5
2 changed files with 7 additions and 4 deletions

View File

@ -8497,3 +8497,4 @@ Video Disk Recorder Revision History
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- Fixed the German translations of "latitude" and "longitude" (they were swapped). - Fixed the German translations of "latitude" and "longitude" (they were swapped).
- Updated the Hungarian OSD texts (thanks to Mario Fenneis). - Updated the Hungarian OSD texts (thanks to Mario Fenneis).
- Modified runvdr.template to improve compatibility with the "bash" and "dash" shells.

View File

@ -20,7 +20,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: runvdr.template 2.2 2011/04/17 12:34:30 kls Exp $ # $Id: runvdr.template 3.1 2015/02/05 10:28:53 kls Exp $
VDRPRG="./vdr" VDRPRG="./vdr"
@ -43,19 +43,21 @@ KILL="/usr/bin/killall -q -TERM"
# Detect whether the DVB driver is already loaded # Detect whether the DVB driver is already loaded
# and return 0 if it *is* loaded, 1 if not: # and return 0 if it *is* loaded, 1 if not:
function DriverLoaded() DriverLoaded()
{ {
return 1 return 1
} }
# Load all DVB driver modules needed for your hardware: # Load all DVB driver modules needed for your hardware:
function LoadDriver() LoadDriver()
{ {
return 0
} }
# Unload all DVB driver modules loaded in LoadDriver(): # Unload all DVB driver modules loaded in LoadDriver():
function UnloadDriver() UnloadDriver()
{ {
return 0
} }
# Load driver if it hasn't been loaded already: # Load driver if it hasn't been loaded already: