diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 19:04:34 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 19:04:34 -0500 |
commit | 690d24af8cd54ac4555087ed0392d53ea27e43ee (patch) | |
tree | 00ee0248155f021cf12fb88cbbcccb8b9ebf34b5 | |
parent | 8850a528f9bc5965eb889290fdf57b7acb1edee1 (diff) | |
download | pfsense-690d24af8cd54ac4555087ed0392d53ea27e43ee.zip pfsense-690d24af8cd54ac4555087ed0392d53ea27e43ee.tar.gz |
Add pfSsh.php externalconfiglocator playback script
-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 |