Current File : //usr/share/webmin/shorewall6/stop.cgi
#!/usr/bin/perl
# stop.cgi
# Shut down the firewall

require './shorewall6-lib.pl';
if ($access{'nochange'}) {
  &redirect("/");
  exit 0;
}

&error_setup($text{'stop_err'});
$out = &backquote_logged("$config{'shorewall6'} stop 2>&1");
if ($?) {
	&error("<pre>$out</pre>");
	}
&webmin_log("stop");
&redirect("");