summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-15 19:11:15 +0000
committerErmal <eri@pfsense.org>2013-12-15 19:11:15 +0000
commit1590947b561a6a68915b7fc6ff2bc7961aae696f (patch)
treec75e973e4ecbe9d75fc702f61d10f15dcb5a0ab6 /etc
parent83e46727fb84311ba5099beaddaad20b04558e07 (diff)
downloadpfsense-1590947b561a6a68915b7fc6ff2bc7961aae696f.zip
pfsense-1590947b561a6a68915b7fc6ff2bc7961aae696f.tar.gz
Call all php scripts in bootup with fcgicli. For rc.bootup only the part needing input needs to be abstracted
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index 2a11bdb..2e1bfba 100755
--- a/etc/rc
+++ b/etc/rc
@@ -373,17 +373,17 @@ fi
# Launch external configuration loader for supported platforms
if [ "$PLATFORM" = "embedded" ]; then
- /usr/local/bin/php -q /etc/ecl.php
+ /usr/local/sbin/fcgicli -f /etc/ecl.php
fi
# Launch external configuration loader for supported platforms
if [ "$PLATFORM" = "nanobsd" ]; then
- /usr/local/bin/php -q /etc/ecl.php
+ /usr/local/sbin/fcgicli -f /etc/ecl.php
fi
# Launch external configuration loader for supported platforms
if [ "$PLATFORM" = "pfSense" ]; then
- /usr/local/bin/php -q /etc/ecl.php
+ /usr/local/sbin/fcgicli -f /etc/ecl.php
fi
if [ -f /etc/rc.custom_boot_early ]; then
@@ -414,7 +414,7 @@ cd /tmp && /usr/sbin/cron -s 2>/dev/null
echo "done."
# Start packages
-/etc/rc.start_packages
+/usr/local/sbin/fcgicli -f /etc/rc.start_packages
/bin/rm -rf /usr/local/pkg/pf/CVS
@@ -422,10 +422,10 @@ echo "done."
/usr/local/bin/minicron 240 $varrunpath/ping_hosts.pid /usr/local/bin/ping_hosts.sh
# Start account expire handler every hour
-/usr/local/bin/minicron 3600 $varrunpath/expire_accounts.pid /etc/rc.expireaccounts
+/usr/local/bin/minicron 3600 $varrunpath/expire_accounts.pid '/usr/local/sbin/fcgicli -f /etc/rc.expireaccounts'
# Start alias url updater every 24 hours
-/usr/local/bin/minicron 86400 $varrunpath/update_alias_url_data.pid /etc/rc.update_alias_url_data
+/usr/local/bin/minicron 86400 $varrunpath/update_alias_url_data.pid '/usr/local/sbin/fcgicli -f /etc/rc.update_alias_url_data'
/bin/chmod a+rw /tmp/.
OpenPOWER on IntegriCloud