diff options
author | doktornotor <notordoktor@gmail.com> | 2015-10-02 05:49:51 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-10-02 05:49:51 +0200 |
commit | 4faa71b099615038128a7f7a3611498c74021bfd (patch) | |
tree | 71bfaaa1c795ace5d3fcf480c7caa6fb751232b8 /config/squid3 | |
parent | bc5d828943f491f0a37d449d50feb6e90c4bcece (diff) | |
download | pfsense-packages-4faa71b099615038128a7f7a3611498c74021bfd.tar.gz pfsense-packages-4faa71b099615038128a7f7a3611498c74021bfd.tar.bz2 pfsense-packages-4faa71b099615038128a7f7a3611498c74021bfd.zip |
write_rcfile() does not handle custom restart command
Diffstat (limited to 'config/squid3')
-rwxr-xr-x | config/squid3/34/squid.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index c189d716..5a71c627 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -2749,14 +2749,7 @@ fi /usr/bin/killall pinger 2>/dev/null EOD; - $rc['restart'] = <<< EOD -if [ -z "`ps auxw | /usr/bin/grep "[s]quid " | /usr/bin/awk '{print $2}'`" ]; then - {$squid_base}/sbin/squid -f {$squid_conffile_var} - else - {$squid_base}/sbin/squid -k reconfigure -f {$squid_conffile_var} - fi -EOD; conf_mount_rw(); write_rcfile($rc); // force delete the PBI initscript that keeps creeping back |