Reload udev rules after (un)install and upgrade
Otherwise users have to reboot before being able to actually use the application.
This commit is contained in:
		
							parent
							
								
									e05c489e37
								
							
						
					
					
						commit
						9cc507d7df
					
				
							
								
								
									
										11
									
								
								onlykey.install
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								onlykey.install
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					post_install() {
 | 
				
			||||||
 | 
						udevadm control --reload
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post_upgrade() {
 | 
				
			||||||
 | 
						udevadm control --reload
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post_remove() {
 | 
				
			||||||
 | 
						udevadm control --reload
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user