diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-08-02 14:39:17 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-08-02 14:39:17 +0545 |
commit | 7e998984fb1856a5b54bdab3a11aa6bd892fd584 (patch) | |
tree | e2693dc6a5ebe8af601b9a05fedce059e9522fe5 | |
parent | 88358a3ff3f9e182db246e6abdd168669a26bdd5 (diff) | |
download | pfsense-packages-7e998984fb1856a5b54bdab3a11aa6bd892fd584.tar.gz pfsense-packages-7e998984fb1856a5b54bdab3a11aa6bd892fd584.tar.bz2 pfsense-packages-7e998984fb1856a5b54bdab3a11aa6bd892fd584.zip |
Add a matching conf_mount_ro call for squid
After write_rcfile() we need to conf_mount_ro() so that the mount reference count is decremented, otherwise the filesystem will get left in read-write mode on nanobsd.
Note: in squid_resync there is already a correct pair of conf_mount_rw() and conf_mount_ro(), so no need to touch that for squid(2).
-rw-r--r-- | config/squid/squid.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 6fdddfda..8e426176 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -1469,5 +1469,6 @@ if [ -z "`ps auxw | grep "[s]quid -D"|awk '{print $2}'`" ];then EOD; conf_mount_rw(); write_rcfile($rc); + conf_mount_ro(); } ?> |