2e38342377
adding new device support, better snmp support for various devices, and many other fixes and improvements.
16 lines
553 B
Plaintext
16 lines
553 B
Plaintext
$OpenBSD: patch-tools_nut-usbinfo_pl,v 1.2 2012/06/08 21:07:02 sthen Exp $
|
|
|
|
skip backup copy of patched files
|
|
|
|
--- tools/nut-usbinfo.pl.orig Mon May 14 13:15:38 2012
|
|
+++ tools/nut-usbinfo.pl Fri Jun 8 10:56:20 2012
|
|
@@ -216,7 +216,7 @@ sub gen_usb_files
|
|
sub find_usbdevs
|
|
{
|
|
# maybe there's an option to turn off all .* files, but anyway this is stupid
|
|
- return $File::Find::prune = 1 if ($_ eq '.svn') || ($_ =~ /^\.#/);
|
|
+ return $File::Find::prune = 1 if ($_ eq '.svn') || ($_ =~ /^\.#/) || (m/.*\.orig/);
|
|
|
|
my $nameFile=$_;
|
|
my $lastComment="";
|