diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-04 23:04:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-04 23:04:35 +0000 |
commit | b495d4c4b0546e5972c128805a2f2602e98099fd (patch) | |
tree | 87bfd900ebc440ecafacd1b80239e755d17eee14 /packages | |
parent | 16aa5d0a1619e480aab4a876db3e3f99478b899a (diff) | |
download | pfsense-packages-b495d4c4b0546e5972c128805a2f2602e98099fd.tar.gz pfsense-packages-b495d4c4b0546e5972c128805a2f2602e98099fd.tar.bz2 pfsense-packages-b495d4c4b0546e5972c128805a2f2602e98099fd.zip |
Add option which checks for /tmp/ro_root_mount to alert system that we need a rw mount on root
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 4 |
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); |