1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin mezzanine_patched_smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin |
2 |
--- smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin 2008-06-23 19:49:06.000000000 +0200 |
3 |
+++ mezzanine_patched_smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin 2008-06-23 19:48:41.000000000 +0200 |
4 |
@@ -277,7 +277,7 @@ |
5 |
my @services = ("#".gettext("Services web"),"httpd-e-smith","httpd-admin","squid", |
6 |
"#".gettext("Services d'administration"), "sshd", "sme7admind", |
7 |
"#".gettext("Services reseaux"),"pppoe","dhcpd","pptpd", |
8 |
- "#".gettext("Services de partage de fichiers"),"smb","atalk","proftpd", |
9 |
+ "#".gettext("Services de partage de fichiers"),"smbd","atalk","proftpd", |
10 |
"#".gettext("Services de messagerie"),"pop3","pop3s","imap","imaps","qmail","qpsmtpd","sqpsmtpd", "clamd", "freshclam","spamd",#mail |
11 |
"#".gettext("Services DNS"),"tinydns","dnscache", #dns |
12 |
"#".gettext("Services d'authentification"),"oidentd","ldap","smtp-auth-proxy","radiusd", #auth |
13 |
@@ -309,7 +309,7 @@ |
14 |
else |
15 |
{ |
16 |
#si c'est un service pour lequel on a des infos complementaires... |
17 |
- if($svc=~/^(httpd-e-smith|httpd-admin|smb|atalk|squid|pptpd|dhcpd|sshd|proftpd|pppoe)$/) {$details=1;} |
18 |
+ if($svc=~/^(httpd-e-smith|httpd-admin|smbd|atalk|squid|pptpd|dhcpd|sshd|proftpd|pppoe)$/) {$details=1;} |
19 |
if (-d "/var/service/$svc") {$cmd = "/usr/bin/sv s $svc";} |
20 |
else {$cmd = "/sbin/e-smith/service $svc status";} |
21 |
my @res=`$cmd`; |