summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-rwxr-xr-xusr/local/www/vpn_pptp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index b08788f..e36b0d8 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -112,11 +112,11 @@ if ($_POST) {
write_config();
$retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
- config_lock();
- $retval = vpn_pptpd_configure();
- config_unlock();
- }
+
+ config_lock();
+ $retval = vpn_pptpd_configure();
+ config_unlock();
+
$savemsg = get_std_save_message($retval);
}
}
OpenPOWER on IntegriCloud