mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Create S991temp_monitor
							parent
							
								
									6c0bfdf260
								
							
						
					
					
						commit
						bcd098440b
					
				|  | @ -0,0 +1,18 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| case "$1" in | ||||
| 	start) | ||||
| 		echo "Starting temperature check..." | ||||
| 		temp_monitor &>/dev/null & | ||||
| 		;; | ||||
| 
 | ||||
| 	stop) | ||||
| 		echo "Stopping temperature check..." | ||||
| 		killall -q temp_monitor | ||||
| 		;; | ||||
| 
 | ||||
| 	*) | ||||
| 		echo "Usage: $0 {start|stop}" | ||||
| 		exit 1 | ||||
| 		;; | ||||
| esac | ||||
		Loading…
	
		Reference in New Issue