summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_pptp_users.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/local/www/vpn_pptp_users.php b/usr/local/www/vpn_pptp_users.php
index 558ae24..d4e13ec 100755
--- a/usr/local/www/vpn_pptp_users.php
+++ b/usr/local/www/vpn_pptp_users.php
@@ -43,11 +43,9 @@ if ($_POST) {
if ($_POST['apply']) {
$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);
if ($retval == 0) {
if (file_exists($d_pptpuserdirty_path))
OpenPOWER on IntegriCloud