mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
15 lines
258 B
Perl
Executable File
15 lines
258 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Enable or disable ipfilter at boot time
|
|
|
|
require './ipfilter-lib.pl';
|
|
&ReadParse();
|
|
if ($in{'boot'}) {
|
|
&create_firewall_init();
|
|
}
|
|
else {
|
|
&delete_firewall_init();
|
|
}
|
|
&webmin_log($in{'boot'} ? "bootup" : "bootdown");
|
|
&redirect("");
|
|
|