1 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/LogAll2VT6 1970-01-01 01:00:00.000000000 +0100 |
2 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/LogAll2VT6 2005-11-21 05:28:05.000000000 +0100 |
3 |
@@ -0,0 +1,1 @@ |
4 |
+no |
5 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/status 1970-01-01 01:00:00.000000000 +0100 |
6 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/status 2005-11-21 05:28:05.000000000 +0100 |
7 |
@@ -0,0 +1,1 @@ |
8 |
+enabled |
9 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/type 1970-01-01 01:00:00.000000000 +0100 |
10 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/rsyslog/type 2005-11-21 05:28:05.000000000 +0100 |
11 |
@@ -0,0 +1,1 @@ |
12 |
+service |
13 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/LogAll2VT6 2005-11-21 05:28:05.000000000 +0100 |
14 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/LogAll2VT6 1970-01-01 01:00:00.000000000 +0100 |
15 |
@@ -1,1 +0,0 @@ |
16 |
-no |
17 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/status 2005-11-21 05:28:05.000000000 +0100 |
18 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/status 1970-01-01 01:00:00.000000000 +0100 |
19 |
@@ -1,1 +0,0 @@ |
20 |
-enabled |
21 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/type 2005-11-21 05:28:05.000000000 +0100 |
22 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/defaults/syslog/type 1970-01-01 01:00:00.000000000 +0100 |
23 |
@@ -1,1 +0,0 @@ |
24 |
-service |
25 |
--- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/migrate/05syslog2rsyslog 1970-01-01 01:00:00.000000000 +0100 |
26 |
+++ e-smith-base-5.4.0/root/etc/e-smith/db/configuration/migrate/05syslog2rsyslog 2013-02-26 20:40:56.832180881 +0100 |
27 |
@@ -0,0 +1,10 @@ |
28 |
+{ |
29 |
+ my $syslog = $DB->get("syslog") or return; |
30 |
+ |
31 |
+ my $rsyslog = $DB->get("rsyslog") || |
32 |
+ $DB->new_record("rsyslog", { type => "service" }); |
33 |
+ |
34 |
+ $rsyslog->merge_props($syslog->props); |
35 |
+ |
36 |
+ $syslog->delete; |
37 |
+} |