aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squid.xml4
1 files changed, 3 insertions, 1 deletions
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);