debian/patches/0002-fix_udev_action.patch: Use SUBSYSTEM instead of BUS
This commit is contained in:
		
							parent
							
								
									eed8994e1e
								
							
						
					
					
						commit
						4d1040666f
					
				
					 2 changed files with 10 additions and 5 deletions
				
			
		
							
								
								
									
										3
									
								
								debian/changelog
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								debian/changelog
									
										
									
									
										vendored
									
									
								
							|  | @ -3,8 +3,9 @@ nut (2.4.3-3) UNRELEASED; urgency=low | |||
|   * debian/control: | ||||
|     - Wrap build-dependencies | ||||
|   * debian/nut.postinst: Only trigger USB subsystem, should Closes: #574769 | ||||
|   * debian/patches/0002-fix_udev_action.patch: Use SUBSYSTEM instead of BUS | ||||
| 
 | ||||
|  -- Laurent Bigonville <bigon@debian.org>  Tue, 11 Jan 2011 01:26:37 +0100 | ||||
|  -- Laurent Bigonville <bigon@debian.org>  Tue, 11 Jan 2011 01:32:06 +0100 | ||||
| 
 | ||||
| nut (2.4.3-2) unstable; urgency=medium | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										12
									
								
								debian/patches/0002-fix_udev_action.patch
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								debian/patches/0002-fix_udev_action.patch
									
										
									
									
										vendored
									
									
								
							|  | @ -1,10 +1,14 @@ | |||
| --- nut-2.4.3.orig/scripts/udev/nut-usbups.rules.in
 | ||||
| +++ nut-2.4.3/scripts/udev/nut-usbups.rules.in
 | ||||
| @@ -1,6 +1,6 @@
 | ||||
| --- a/scripts/udev/nut-usbups.rules.in
 | ||||
| +++ b/scripts/udev/nut-usbups.rules.in
 | ||||
| @@ -1,9 +1,9 @@
 | ||||
|  # This file is generated and installed by the Network UPS Tools package. | ||||
|   | ||||
| -ACTION!="add", GOTO="nut-usbups_rules_end"
 | ||||
| +ACTION!="add|change", GOTO="nut-usbups_rules_end"
 | ||||
|  SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real" | ||||
|  SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real" | ||||
|  BUS!="usb", GOTO="nut-usbups_rules_end" | ||||
| -BUS!="usb", GOTO="nut-usbups_rules_end"
 | ||||
| +SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
 | ||||
|   | ||||
|  LABEL="nut-usbups_rules_real" | ||||
|  #  Krauler UP-M500VA  - blazer_usb | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue