mirror of
https://github.com/webmin/webmin.git
synced 2026-02-06 07:22:20 +00:00
13 lines
300 B
Perl
Executable File
13 lines
300 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# start.cgi
|
|
# Start bind 8
|
|
|
|
require './bind8-lib.pl';
|
|
$access{'ro'} && &error($text{'start_ecannot'});
|
|
$access{'apply'} || &error($text{'start_ecannot'});
|
|
$err = &start_bind();
|
|
&error($err) if ($err);
|
|
&webmin_log("start");
|
|
&redirect($in{'return'} ? $ENV{'HTTP_REFERER'} : "");
|
|
|