diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-01-21 10:58:25 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-01-21 10:58:34 -0500 |
commit | e9bcc5fef63a5cbe8bd91785cb1cab90197346ea (patch) | |
tree | 62d0ec7a10c98023215c4b059160362404cacb84 | |
parent | bb8f186eefa756694defbf127b699a3460abfe8c (diff) | |
download | pfsense-e9bcc5fef63a5cbe8bd91785cb1cab90197346ea.zip pfsense-e9bcc5fef63a5cbe8bd91785cb1cab90197346ea.tar.gz |
Lock firmwarelock when upgrading packages
-rwxr-xr-x | etc/rc.bootup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 6333ab8..ab4a5b5 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -385,7 +385,9 @@ if(file_exists('/conf/needs_package_sync')) { if($config['installedpackages'] <> '' && is_array($config['installedpackages']['package'])) { require_once("pkg-utils.inc"); if($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") { + mark_subsystem_dirty('firmwarelock'); pkg_reinstall_all(); + clear_subsystem_dirty('firmwarelock'); } } } |