1 |
brianr |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/createlinks mezzanine_patched_smeserver-zabbix-server-0.1/createlinks |
2 |
|
|
--- smeserver-zabbix-server-0.1/createlinks 2009-02-06 16:54:16.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-zabbix-server-0.1/createlinks 2009-02-06 16:53:46.000000000 +0100 |
4 |
|
|
@@ -21,6 +21,9 @@ |
5 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/zabbix/zabbix.conf.php/template-begin"); |
6 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/zabbix/zabbix.conf.php/template-end"); |
7 |
|
|
|
8 |
|
|
+# Bash header |
9 |
|
|
+safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/template-begin"); |
10 |
|
|
+ |
11 |
|
|
# Start and stop links |
12 |
|
|
service_link_enhanced("zabbix-server", "S99", "7"); |
13 |
|
|
service_link_enhanced("zabbix-server", "K10", "6"); |
14 |
|
|
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all |
15 |
|
|
--- smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all 2009-02-06 16:54:16.000000000 +0100 |
16 |
|
|
+++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/all 2009-02-06 16:54:06.000000000 +0100 |
17 |
|
|
@@ -1,4 +1,3 @@ |
18 |
|
|
-#!/bin/sh |
19 |
|
|
|
20 |
|
|
echo "$3" | \ |
21 |
|
|
sendxmpp -u {${'zabbix-server'}{'JabberAccount'};} \ |