diff options
-rwxr-xr-x | etc/ecl.php | 1 | ||||
-rw-r--r-- | etc/phpshellsessions/externalconfiglocator | 5 | ||||
-rwxr-xr-x | etc/rc | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/etc/ecl.php b/etc/ecl.php index 5026800..d879266 100755 --- a/etc/ecl.php +++ b/etc/ecl.php @@ -1,4 +1,3 @@ -#!/usr/local/bin/php -q <?php /* external config loader diff --git a/etc/phpshellsessions/externalconfiglocator b/etc/phpshellsessions/externalconfiglocator new file mode 100644 index 0000000..8a60867 --- /dev/null +++ b/etc/phpshellsessions/externalconfiglocator @@ -0,0 +1,5 @@ +global $config; + +$config = parse_config(true); + +require("/etc/ecl.php"); @@ -354,7 +354,7 @@ fi # Launch external configuration loader for supported platforms if [ "$PLATFORM" = "pfSense" ]; then - /etc/ecl.php + /usr/local/bin/php -q /etc/ecl.php fi nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status |