diff options
author | jim-p <jimp@pfsense.org> | 2016-12-28 13:52:15 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-02-10 12:42:17 -0500 |
commit | bdc16e2692a4cf6a1aa281ca61bc063006d949dc (patch) | |
tree | 33462243717375f954e2619ba38c956cb88beea8 | |
parent | 5ab3fb16e8f42dbf981266e0b786537a7029688a (diff) | |
download | pfsense-bdc16e2692a4cf6a1aa281ca61bc063006d949dc.zip pfsense-bdc16e2692a4cf6a1aa281ca61bc063006d949dc.tar.gz |
Add a pfSense php shell playback script to show the gateway status. Ticket #7046
-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 |