From f04fe5a5836a2518a99d17f29a89a6f96f1efde0 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:26:00 +0100 Subject: Add privileges configuration to mtr-nox11 package Plus some cleanups while here. --- config/mtr-nox11/mtr-nox11.xml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'config/mtr-nox11') diff --git a/config/mtr-nox11/mtr-nox11.xml b/config/mtr-nox11/mtr-nox11.xml index 396e860d..133f61f2 100644 --- a/config/mtr-nox11/mtr-nox11.xml +++ b/config/mtr-nox11/mtr-nox11.xml @@ -1,6 +1,6 @@ - - + + - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. mtr - 0.85_3 + 0.85.4 Diagnostics: mtr Run mtr yes - true - mtr - mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool
Diagnostics
- mtr-nox11.xml + /pkg_edit.php?xml=mtr-nox11.xml
+ + /etc/inc/priv/ + https://packages.pfsense.org/packages/config/mtr-nox11/mtr-nox11.priv.inc + IP or Hostname @@ -70,7 +68,7 @@ count This is the number of pings to send, each one takes 1 second. input - (Defaults to 10) + (Defaults to 10.) No DNS Lookup @@ -111,8 +109,8 @@ $int_interval = (is_numeric($_POST['interval']) ? (abs(intval($_POST['interval']))) : 1); if (!is_hostname($_POST['hostname']) && !is_ipaddr($_POST['hostname'])) { - echo "
ERROR: No valid IP or Hostname given. Fix this and try again!
"; - echo "\n"; + echo "ERROR: No valid IP or Hostname given. Fix this and try again!\n"; + echo "\n"; die(); } @@ -136,7 +134,7 @@ $mtr_options .= " " . $_POST['hostname']; echo "Running mtr $mtr_options:\n\n"; system("/usr/local/sbin/mtr" . $mtr_options); - echo "\n"; + echo "\n"; ]]>
-- cgit v1.2.3