From b495d4c4b0546e5972c128805a2f2602e98099fd Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Sep 2005 23:04:35 +0000 Subject: Add option which checks for /tmp/ro_root_mount to alert system that we need a rw mount on root --- packages/squid.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/squid.xml b/packages/squid.xml index 5d0fc814..38b3fc77 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -57,7 +57,9 @@ $fout = fopen("/usr/local/etc/rc.d/squid.sh","w"); fwrite($fout, "#!/bin/sh\n"); fwrite($fout, "# PACKAGE: Squid\n"); - fwrite($fout, "# EXECUTABLE: squid\n"); + fwrite($fout, "# EXECUTABLE: squid\n\n"); + fwrite($fout, "# Alert system that we need the / mount rw\n"); + fwrite($fout, "touch /tmp/ro_root_mount\n\n"); fwrite($fout, "/usr/local/sbin/squid -D\n\n"); fwrite($fout, "touch /tmp/filter_dirty\n\n"); fclose($fout); -- cgit v1.2.3