mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			218 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			218 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| DVBDIR='../DVB/driver'
 | |
| VDRCMD='./vdr -w 60'
 | |
| 
 | |
| while test 1; do
 | |
| #      (cd $DVBDIR; make reload)
 | |
| #      sleep 3
 | |
|       if $VDRCMD; then exit; fi
 | |
|       date
 | |
|       echo "restarting VDR"
 | |
|       sleep 10
 | |
|       done
 |