diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-13 16:33:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-13 16:33:02 +0000 |
commit | 8b181ff5d6698b79ae7f952456600cbc5679d170 (patch) | |
tree | 2c030c5103e7c186ed95f9651daa5b7c118fa471 /etc | |
parent | 71cfa893905844d476f0af221fa7b441c1e4906c (diff) | |
download | pfsense-8b181ff5d6698b79ae7f952456600cbc5679d170.zip pfsense-8b181ff5d6698b79ae7f952456600cbc5679d170.tar.gz |
Correctly hit HTTP or HTTPS when enabled
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -208,7 +208,14 @@ rm -rf /usr/local/pkg/pf/CVS /usr/local/sbin/check_reload_status >/dev/null & echo -n "Pre-caching PHP for faster responses..." -fetch -q -o /tmp/ http://localhost/preload.php +CONFIG="/cf/conf/config.xml" +WORD="https" +if grep "$WORD" "$CONFIG" +then + fetch -q -o /tmp/ https://localhost/preload.php +else + fetch -q -o /tmp/ http://localhost/preload.php +fi rm -f /tmp/phpfast echo " done." |