diff options
author | Ermal <eri@pfsense.org> | 2011-08-19 17:10:29 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-19 17:10:29 +0000 |
commit | 595ddf1bc2dc15ad63825e0314704355ac36ef74 (patch) | |
tree | 0d89b6bf5ca1b9c5689df6b79d9170708b77ae04 /etc/rc.start_packages | |
parent | 237ac19868ed7c12c4f3f4267bddf8327cf0d0f5 (diff) | |
download | pfsense-595ddf1bc2dc15ad63825e0314704355ac36ef74.zip pfsense-595ddf1bc2dc15ad63825e0314704355ac36ef74.tar.gz |
start packages script is called after rc.bootup so the filesystem is makred RO already. Put the script around the mount rw-ro calls to avoid problems.
Diffstat (limited to 'etc/rc.start_packages')
-rwxr-xr-x | etc/rc.start_packages | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages index 4b78718..0a56526 100755 --- a/etc/rc.start_packages +++ b/etc/rc.start_packages @@ -40,6 +40,8 @@ require_once("service-utils.inc"); log_error("Restarting/Starting all packages."); +conf_mount_rw(); + $rcfiles = glob("{$rcfileprefix}*.sh"); if (!$rcfiles) $rcfiles = array(); @@ -70,4 +72,6 @@ if ($shell) { pclose($shell); } +conf_mount_ro(); + ?> |