| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/virtual-server/ |
Upload File : |
#!/usr/bin/perl
# Shut down clamd
require './virtual-server-lib.pl';
&can_edit_templates() || &error($text{'sv_ecannot'});
&ui_print_unbuffered_header(undef, $text{'sv_title2'}, "");
print $text{'sv_disabling'},"<br>\n";
&$indent_print();
$ok = &disable_clamd();
if ($ok) {
($scanner) = &get_global_virus_scanner();
&webmin_log("disable", "clamd");
}
&$outdent_print();
# Warn if the server scanner is still selected but clamd is now stopped
if ($ok && $scanner eq "clamdscan") {
print &ui_tag('p').&ui_alert_box($text{'sv_warning'}, 'warn',
undef, undef, '');
}
&run_post_actions();
&ui_print_footer("edit_newsv.cgi", $text{'sv_return'});