1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-tinydns-1.0.0/root/etc/e-smith/db/configuration/migrate/tinydns_ListenIP mezzanine_patched_e-smith-tinydns-1.0.0/root/etc/e-smith/db/configuration/migrate/tinydns_ListenIP |
2 |
--- e-smith-tinydns-1.0.0/root/etc/e-smith/db/configuration/migrate/tinydns_ListenIP 1969-12-31 19:00:00.000000000 -0500 |
3 |
+++ mezzanine_patched_e-smith-tinydns-1.0.0/root/etc/e-smith/db/configuration/migrate/tinydns_ListenIP 2006-09-14 15:28:45.000000000 -0400 |
4 |
@@ -0,0 +1,11 @@ |
5 |
+{ |
6 |
+ # $tinydns{ListenIP} must not be set in serveronly mode |
7 |
+ my $tinydns = $DB->get('tinydns'); |
8 |
+ return unless $tinydns; |
9 |
+ my $mode = $DB->get_value('SystemMode'); |
10 |
+ return unless $mode; |
11 |
+ if ($mode eq 'serveronly') |
12 |
+ { |
13 |
+ $tinydns->delete_prop("ListenIP"); |
14 |
+ } |
15 |
+} |