PPTP start script runs the server in the background https://sourceforge.net/p/webadmin/bugs/4876/

This commit is contained in:
Jamie Cameron
2017-04-09 18:35:15 -07:00
parent 23b966e7da
commit 919baa1343

View File

@@ -18,7 +18,7 @@ if ($in{'tunnel'}) {
# Enable starting at boot
&init::enable_at_boot($module_name,
"Startup or shutdown PPTP connection",
$start_cmd, $stop_cmd);
$start_cmd, $stop_cmd, undef, { 'fork' => 1 });
$config{'boot'} = $in{'tunnel'};
}
else {