mirror of
https://github.com/webmin/webmin.git
synced 2026-02-08 08:19:57 +00:00
12 lines
244 B
Perl
Executable File
12 lines
244 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Stop bind 8
|
|
|
|
require './bind8-lib.pl';
|
|
$access{'ro'} && &error($text{'stop_ecannot'});
|
|
$access{'apply'} || &error($text{'stop_ecannot'});
|
|
$err = &stop_bind();
|
|
&error($err) if ($err);
|
|
&webmin_log("stop");
|
|
&redirect("");
|
|
|