projects
/
webmin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle hostnames with upper-case letters
[webmin.git]
/
ipfw
/
convert.cgi
1
#!/usr/local/bin/perl
2
# Save active firewall rules to a file
3
4
require './ipfw-lib.pl';
5
&ReadParse();
6
&error_setup($text{'convert_err'});
7
&lock_file($ipfw_file);
8
&system_logged("$config{'ipfw'} list > $ipfw_file");
9
&unlock_file($ipfw_file);
10
&webmin_log("convert");
11
&redirect("");
12