mirror of
https://github.com/webmin/webmin.git
synced 2026-01-16 15:06:07 +00:00
12 lines
263 B
Perl
Executable File
12 lines
263 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# unapply.cgi
|
|
# Copy the active firewall configuration to the save file
|
|
|
|
require './ipfw-lib.pl';
|
|
&lock_file($ipfw_file);
|
|
&system_logged("$config{'ipfw'} list > $ipfw_file");
|
|
&unlock_file($ipfw_file);
|
|
&webmin_log("unapply");
|
|
&redirect("");
|
|
|