diff options
Diffstat (limited to 'packages/freeradiusclients.xml')
-rw-r--r-- | packages/freeradiusclients.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/freeradiusclients.xml b/packages/freeradiusclients.xml index b1fbcbf0..d26b792a 100644 --- a/packages/freeradiusclients.xml +++ b/packages/freeradiusclients.xml @@ -59,6 +59,8 @@ </fields> <custom_php_command_before_form> function sync_package() { + conf_mount_rw(); + config_lock(); global $config; $fout = fopen("/usr/local/etc/raddb/clients.conf","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); @@ -69,6 +71,8 @@ } } fclose($fout); + conf_mount_ro(); + config_unlock(); system("killall -HUP radiusd"); } sync_package(); |