mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
16 lines
246 B
Perl
Executable File
16 lines
246 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# bootup.cgi
|
|
# Enable or disable ipfw at boot time
|
|
|
|
require './ipfw-lib.pl';
|
|
&ReadParse();
|
|
if ($in{'boot'}) {
|
|
&enable_boot();
|
|
}
|
|
else {
|
|
&disable_boot();
|
|
}
|
|
&webmin_log($in{'boot'} ? "bootup" : "bootdown");
|
|
&redirect("");
|
|
|