mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Finished off support for stopping and starting atd
This commit is contained in:
13
at/start.cgi
Normal file
13
at/start.cgi
Normal file
@ -0,0 +1,13 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Start the atd server
|
||||
|
||||
require './at-lib.pl';
|
||||
&error_setup($text{'start_err'});
|
||||
&foreign_require("init");
|
||||
my $init = &get_init_name();
|
||||
my ($ok, $err) = &init::start_action($init);
|
||||
&error($err) if (!$ok);
|
||||
&webmin_log("start");
|
||||
&redirect("");
|
||||
|
||||
|
Reference in New Issue
Block a user