From 7e998984fb1856a5b54bdab3a11aa6bd892fd584 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 2 Aug 2012 14:39:17 +0545 Subject: 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). --- config/squid/squid.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/squid') 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(); } ?> -- cgit v1.2.3