diff options
-rw-r--r-- | etc/inc/pfsense-utils.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index fc58c96..4f27aef 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1189,7 +1189,14 @@ function reload_all_sync() { interfaces_carp_bringup(); /* reload the filter */ - filter_configure(); + filter_configure(); + + /* sync pw database */ + conf_mount_rw(); + mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd"); + mwexec("/usr/sbin/pwd_mkdb /etc/master.passwd"); + conf_mount_ro(); + } ?>
\ No newline at end of file |