Start the watchdog daemon if a harware watchdog is present
SVN-Revision: 10721
This commit is contained in:
		
							
								
								
									
										7
									
								
								package/base-files/files/etc/init.d/watchdog
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								package/base-files/files/etc/init.d/watchdog
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					#!/bin/sh /etc/rc.common
 | 
				
			||||||
 | 
					# Copyright (C) 2008 OpenWrt.org
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					START=97
 | 
				
			||||||
 | 
					start() {
 | 
				
			||||||
 | 
					        [ -f /dev/watchtog ] && watchdog -t 5 /dev/watchdog
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user