mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Modified runvdr.template to improve compatibility with the "bash" and "dash" shells
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -8497,3 +8497,4 @@ Video Disk Recorder Revision History | ||||
| - Updated the Italian OSD texts (thanks to Diego Pierotto). | ||||
| - Fixed the German translations of "latitude" and "longitude" (they were swapped). | ||||
| - Updated the Hungarian OSD texts (thanks to Mario Fenneis). | ||||
| - Modified runvdr.template to improve compatibility with the "bash" and "dash" shells. | ||||
|   | ||||
| @@ -20,7 +20,7 @@ | ||||
| # See the main source file 'vdr.c' for copyright information and | ||||
| # 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" | ||||
|  | ||||
| @@ -43,19 +43,21 @@ KILL="/usr/bin/killall -q -TERM" | ||||
|  | ||||
| # Detect whether the DVB driver is already loaded | ||||
| # and return 0 if it *is* loaded, 1 if not: | ||||
| function DriverLoaded() | ||||
| DriverLoaded() | ||||
| { | ||||
|   return 1 | ||||
| } | ||||
|  | ||||
| # Load all DVB driver modules needed for your hardware: | ||||
| function LoadDriver() | ||||
| LoadDriver() | ||||
| { | ||||
|   return 0 | ||||
| } | ||||
|  | ||||
| # Unload all DVB driver modules loaded in LoadDriver(): | ||||
| function UnloadDriver() | ||||
| UnloadDriver() | ||||
| { | ||||
|   return 0 | ||||
| } | ||||
|  | ||||
| # Load driver if it hasn't been loaded already: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user