| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/virtual-server/ |
Upload File : |
# uninstall.pl
# Called when this module is un-installed to delete all cron jobs, init
# scripts and daemons
require 'virtual-server-lib.pl';
sub module_uninstall
{
foreach my $cmd (@all_cron_commands) {
&delete_cron_script($cmd);
}
# Turn off lookup-domain action
&foreign_require("init");
&foreign_require("proc");
if (&check_pid_file($pidfile)) {
&init::stop_action("lookup-domain");
}
&init::disable_at_boot("lookup-domain");
# Delete API helper
local $api_helper_command = &get_api_helper_command();
if (-r $api_helper_command && !-d $api_helper_command) {
&unlink_file($api_helper_command);
}
}
1;