summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-28 13:52:15 -0500
committerjim-p <jimp@pfsense.org>2017-02-10 12:42:17 -0500
commitbdc16e2692a4cf6a1aa281ca61bc063006d949dc (patch)
tree33462243717375f954e2619ba38c956cb88beea8 /src/etc
parent5ab3fb16e8f42dbf981266e0b786537a7029688a (diff)
downloadpfsense-bdc16e2692a4cf6a1aa281ca61bc063006d949dc.zip
pfsense-bdc16e2692a4cf6a1aa281ca61bc063006d949dc.tar.gz
Add a pfSense php shell playback script to show the gateway status. Ticket #7046
Diffstat (limited to 'src/etc')
-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