Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 19 lines (15 sloc) 0.34 kb
fc1c1b2 @jcameron Initial checkin of Webmin
jcameron authored
1 # uninstall.pl
2 # Called when webmin is uninstalled to delete and at jobs
3
4 require 'updown-lib.pl';
5
6 sub module_uninstall
7 {
8 if (&foreign_check("at")) {
9 &foreign_require("at", "at-lib.pl");
10 @ats = &at::list_atjobs();
11 foreach $a (@ats) {
12 if ($a->{'realcmd'} =~ /\Q$atjob_cmd\E\s+(\d+)/) {
13 &at::delete_atjob($a->{'id'});
14 }
15 }
16 }
17 }
18
Something went wrong with that request. Please try again.