aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-30 10:24:20 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-30 10:24:20 +0200
commitb5dcb3027c95ed5133693630934c0d7da704324a (patch)
tree288e93959084f1a532500567c1209383c1c19732 /config/squid3
parent1e10ea594897ba3cd6c72ae5f5a83e8bbc2880dc (diff)
downloadpfsense-packages-b5dcb3027c95ed5133693630934c0d7da704324a.tar.gz
pfsense-packages-b5dcb3027c95ed5133693630934c0d7da704324a.tar.bz2
pfsense-packages-b5dcb3027c95ed5133693630934c0d7da704324a.zip
Force delete the PBI initscript that keeps creeping back
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index d75c813b..519c7c54 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -2465,6 +2465,8 @@ if [ -z "`ps auxw | /usr/bin/grep "[s]quid " | /usr/bin/awk '{print $2}'`" ]; th
EOD;
conf_mount_rw();
write_rcfile($rc);
+ // force delete the PBI initscript that keeps creeping back
+ unlink_if_exists("/usr/local/etc/rc.d/squid");
conf_mount_ro();
}