| 
									
										
										
										
											2015-02-27 00:58:55 +00:00
										 |  |  | #!/sbin/runscript | 
					
						
							|  |  |  | # Copyright 1999-2012 Gentoo Foundation | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							| 
									
										
										
										
											2015-08-23 23:49:25 +00:00
										 |  |  | # $Id$ | 
					
						
							| 
									
										
										
										
											2015-02-27 00:58:55 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | depend() { | 
					
						
							|  |  |  | 	need localmount | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | start() { | 
					
						
							|  |  |  | 	ebegin "Starting hddtemp daemon" | 
					
						
							|  |  |  | 	/sbin/start-stop-daemon --start --quiet --exec ${HDDTEMP_EXEC} \ | 
					
						
							|  |  |  | 	-- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES} | 
					
						
							|  |  |  | 	eend $? | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | stop() { | 
					
						
							|  |  |  | 	ebegin "Stopping hddtemp daemon" | 
					
						
							|  |  |  | 	start-stop-daemon --stop --quiet --exec ${HDDTEMP_EXEC} | 
					
						
							|  |  |  | 	eend $? | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 |