summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-28 13:52:15 -0500
committerjim-p <jimp@pfsense.org>2016-12-28 13:52:15 -0500
commitf88743cb1097b47440a0211bf176fdcda1bc7df4 (patch)
tree1b4ca49cf9ecaae2c80950243c92b23edf31d1a1 /src/etc/phpshellsessions
parenta4867a30cb184fd63b2025015c3ef67d52977633 (diff)
downloadpfsense-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/gatewaystatus3
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
OpenPOWER on IntegriCloud