diff options
author | jim-p <jimp@pfsense.org> | 2016-12-28 13:52:15 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-12-28 13:52:15 -0500 |
commit | f88743cb1097b47440a0211bf176fdcda1bc7df4 (patch) | |
tree | 1b4ca49cf9ecaae2c80950243c92b23edf31d1a1 /src/etc/phpshellsessions | |
parent | a4867a30cb184fd63b2025015c3ef67d52977633 (diff) | |
download | pfsense-f88743cb1097b47440a0211bf176fdcda1bc7df4.zip pfsense-f88743cb1097b47440a0211bf176fdcda1bc7df4.tar.gz |
Add a pfSense php shell playback script to show the gateway status. Ticket #7046
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r-- | src/etc/phpshellsessions/gatewaystatus | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/phpshellsessions/gatewaystatus b/src/etc/phpshellsessions/gatewaystatus new file mode 100644 index 0000000..439087b --- /dev/null +++ b/src/etc/phpshellsessions/gatewaystatus @@ -0,0 +1,3 @@ +require_once("gwlb.inc"); +global $argv; +echo return_gateways_status_text(true, ($argv[3] == "brief"));
\ No newline at end of file |