1 |
slords |
1.1 |
diff -up smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules.mod_admin_extra smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules |
2 |
|
|
--- smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules.mod_admin_extra 2011-01-02 18:07:40.000000000 -0700 |
3 |
|
|
+++ smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules 2011-01-02 18:07:43.000000000 -0700 |
4 |
|
|
@@ -30,8 +30,12 @@ |
5 |
|
|
{mod_last, []}, |
6 |
|
|
% {mod_xmlrpc,[{port, 4560},{timeout, 5000}]}, |
7 |
|
|
{mod_version, []}, |
8 |
|
|
- {mod_ctlextra, []}, |
9 |
|
|
HERE |
10 |
|
|
+ if (-e '/usr/lib/ejabberd/ebin/mod_admin_extra.beam' || -e '/usr/lib64/ejabberd/ebin/mod_admin_extra.beam') |
11 |
|
|
+ { $OUT .= ' {mod_admin_extra, []},'; } |
12 |
|
|
+ else |
13 |
|
|
+ { $OUT .= ' {mod_ctlextra, []},'; } |
14 |
|
|
+ $OUT .= "\n"; |
15 |
|
|
$OUT .= ' {mod_echo, [{host, "echo.'; |
16 |
|
|
$OUT .= ${DomainName}; |
17 |
|
|
$OUT .= '"}]}'; |