summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a3d3acb..a07d12c 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1129,8 +1129,10 @@ function reload_interfaces() {
* none
******/
function sync_webgui_passwords() {
+ conf_mount_rw();
mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd");
mwexec("/usr/sbin/pwd_mkdb /etc/master.passwd");
+ conf_mount_ro();
}
/****f* pfsense-utils/reload_all_sync
OpenPOWER on IntegriCloud