1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/defaults/nut/Model mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/defaults/nut/Model |
2 |
--- e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/defaults/nut/Model 2006-03-15 12:51:21.000000000 -0700 |
3 |
+++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/defaults/nut/Model 2007-10-08 09:52:34.000000000 -0600 |
4 |
@@ -1 +1 @@ |
5 |
-newhidups |
6 |
+usbhid-ups |
7 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel |
8 |
--- e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 1969-12-31 17:00:00.000000000 -0700 |
9 |
+++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 2007-10-08 09:55:38.000000000 -0600 |
10 |
@@ -0,0 +1,4 @@ |
11 |
+{ |
12 |
+ my $pool = $DB->get_prop('nut', 'Model'); |
13 |
+ $DB->set_prop('nut', 'Model', 'usbhid-ups') if ($pool eq 'newhidups'); |
14 |
+} |