3 # Enable or disable the ipsec bootup action
5 require './ipsec-lib.pl';
6 &foreign_require("init", "init-lib.pl");
9 if ($in{'boot'} && $in{'starting'} != 2) {
10 &init::enable_at_boot("ipsec");
13 elsif (!$in{'boot'} && $in{'starting'} == 2) {
14 &init::disable_at_boot("ipsec");
15 &webmin_log("unboot");