1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName |
2 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName 2005-02-17 15:11:34.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName 1969-12-31 17:00:00.000000000 -0700 |
4 |
|
|
@@ -1 +0,0 @@ |
5 |
|
|
-mitel-networks-server |
6 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName |
7 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 1969-12-31 17:00:00.000000000 -0700 |
8 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 2007-01-26 18:07:19.000000000 -0700 |
9 |
|
|
@@ -0,0 +1,8 @@ |
10 |
|
|
+{ |
11 |
|
|
+ my $smb = $DB->get('smb') || return; |
12 |
|
|
+ my $srvName = $smb->prop('ServerName') || 'e-smith-server'; |
13 |
|
|
+ my $sysName = $DB->get('SystemName') || return; |
14 |
|
|
+ |
15 |
|
|
+ return unless $srvName =~ m#(mitel-networks|e-smith)-server#; |
16 |
|
|
+ $smb->set_prop('ServerName', $sysName->value); |
17 |
|
|
+} |