Finished off support for stopping and starting atd

This commit is contained in:
Jamie Cameron
2020-10-01 13:25:03 -07:00
parent a8afe6394f
commit 98efcf494b
5 changed files with 43 additions and 5 deletions

13
at/start.cgi Normal file
View 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("");