mirror of
https://github.com/webmin/webmin.git
synced 2026-06-09 22:40:23 +01:00
17 lines
400 B
Perl
Executable File
17 lines
400 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Start Kea services.
|
|
|
|
use strict;
|
|
use warnings;
|
|
require './kea-dhcp-lib.pl'; ## no critic
|
|
our %text;
|
|
&error_setup($text{'eacl_aviol'});
|
|
&kea_assert_acl('apply');
|
|
|
|
# The header action buttons operate on all configured Kea components together.
|
|
&error_setup($text{'start_fail'});
|
|
my $err = &kea_run_action('start');
|
|
&error($err) if ($err);
|
|
&webmin_log("start");
|
|
&redirect("");
|