mirror of
https://github.com/webmin/webmin.git
synced 2025-07-29 11:50:54 +00:00
15 lines
312 B
Perl
Executable File
15 lines
312 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Stop the atd server
|
|
|
|
require './at-lib.pl';
|
|
&error_setup($text{'stop_err'});
|
|
$access{'stop'} || &error($text{'stop_ecannot'});
|
|
&foreign_require("init");
|
|
my $init = &get_init_name();
|
|
my ($ok, $err) = &init::stop_action($init);
|
|
&error($err) if (!$ok);
|
|
&webmin_log("stop");
|
|
&redirect("");
|
|
|
|
|