overlay: Add timekeeper file
This commit is contained in:
		
							
								
								
									
										15
									
								
								overlay/system/etc/init/timekeeper.conf
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								overlay/system/etc/init/timekeeper.conf
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					description "Timekeeper is a utility to keep/restore RTC offset for Qualcomm devices"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start on android
 | 
				
			||||||
 | 
					stop on runlevel [016]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pre-start script
 | 
				
			||||||
 | 
					        sleep 5
 | 
				
			||||||
 | 
					        /usr/bin/timekeeper restore || true
 | 
				
			||||||
 | 
					        echo "pre" >> /var/log/upstart/timekeeper.log
 | 
				
			||||||
 | 
					end script
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post-stop script
 | 
				
			||||||
 | 
					        /usr/bin/timekeeper store || true
 | 
				
			||||||
 | 
					        echo "post" >> /var/log/upstart/timekeeper.log
 | 
				
			||||||
 | 
					end script
 | 
				
			||||||
		Reference in New Issue
	
	Block a user