diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-09 17:55:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-09 17:55:52 +0000 |
commit | 8d8f8970631304cad937764ea8ab495d6d5797ae (patch) | |
tree | 3f651ef5941d2a86c5785313f5da7a2b53ab46b3 /usr | |
parent | 5fa404d49eddb37e4ef53a1abb2bc81d679adec9 (diff) | |
download | pfsense-8d8f8970631304cad937764ea8ab495d6d5797ae.zip pfsense-8d8f8970631304cad937764ea8ab495d6d5797ae.tar.gz |
Sync master.passwd database before beginning package operations
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 6b29877..5c64dad 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -108,6 +108,9 @@ Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); /* mount rw fs */ conf_mount_rw(); +/* resync password database to avoid out of sync issues */ +mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd"); + switch($_GET['mode']) { case "delete": |