diff options
author | Ermal <eri@pfsense.org> | 2013-12-15 19:11:15 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-15 19:11:15 +0000 |
commit | 1590947b561a6a68915b7fc6ff2bc7961aae696f (patch) | |
tree | c75e973e4ecbe9d75fc702f61d10f15dcb5a0ab6 /etc/rc | |
parent | 83e46727fb84311ba5099beaddaad20b04558e07 (diff) | |
download | pfsense-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/rc')
-rwxr-xr-x | etc/rc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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/. |