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
/
start.pl
1
#!/usr/local/bin/perl
2
# start.pl
3
# Apply the current firewall configuration
4
5
$no_acl_check++;
6
require './ipfw-lib.pl';
7
&ReadParse();
8
$err = &apply_rules();
9
if ($err) {
10
$err =~ s/<[^>]*>//g;
11
print STDERR "Failed to enable firewall : $err\n";
12
exit(1);
13
}
14
else {
15
exit(0);
16
}
17