|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /usr/libexec/webmin/updown/ |
Upload File : |
# uninstall.pl
# Called when webmin is uninstalled to delete and at jobs
require 'updown-lib.pl';
sub module_uninstall
{
if (&foreign_check("at")) {
&foreign_require("at", "at-lib.pl");
@ats = &at::list_atjobs();
foreach $a (@ats) {
if ($a->{'realcmd'} =~ /\Q$atjob_cmd\E\s+(\d+)/) {
&at::delete_atjob($a->{'id'});
}
}
}
}