From b607476f53aebf7f65f362fe1047d2cc1cc65928 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 24 May 2005 00:42:44 +0000 Subject: Change package name to mtr-nox11 --- packages/mtr-nox11.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ packages/mtr.xml | 48 ------------------------------------------------ pkg_config.xml | 2 +- 3 files changed, 49 insertions(+), 49 deletions(-) create mode 100644 packages/mtr-nox11.xml delete mode 100644 packages/mtr.xml diff --git a/packages/mtr-nox11.xml b/packages/mtr-nox11.xml new file mode 100644 index 00000000..b0dd13bf --- /dev/null +++ b/packages/mtr-nox11.xml @@ -0,0 +1,48 @@ + + + mtr + 0.65_2 + Diagnostics: mtr + true + yes + mtr + + + mtr + mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool +
Diagnostics
+ mtr.xml +
+ + + + IP or Hostname + hostname + Enter the IP address or hostname that you would like to traceroute to. + input + + + Count + count + This is the number of pings to send, each one takes 1 second + input + Defaults to 10 + + + No DNS Lookup + nodns + Use this option to force mtr to display numeric IP numbers and not try to resolve the host names + checkbox + + + + + + $mtr_options = " -r"; + if($_POST['count']) $mtr_options .= " -c " . $_POST['count']; + if($_POST['nodns']) $mtr_options .= " -n"; + $mtr_options .= " " . $_POST['hostname']; + system("/usr/local/sbin/mtr" . $mtr_options); + +
diff --git a/packages/mtr.xml b/packages/mtr.xml deleted file mode 100644 index b0dd13bf..00000000 --- a/packages/mtr.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - mtr - 0.65_2 - Diagnostics: mtr - true - yes - mtr - - - mtr - mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool -
Diagnostics
- mtr.xml -
- - - - IP or Hostname - hostname - Enter the IP address or hostname that you would like to traceroute to. - input - - - Count - count - This is the number of pings to send, each one takes 1 second - input - Defaults to 10 - - - No DNS Lookup - nodns - Use this option to force mtr to display numeric IP numbers and not try to resolve the host names - checkbox - - - - - - $mtr_options = " -r"; - if($_POST['count']) $mtr_options .= " -c " . $_POST['count']; - if($_POST['nodns']) $mtr_options .= " -n"; - $mtr_options .= " " . $_POST['hostname']; - system("/usr/local/sbin/mtr" . $mtr_options); - -
diff --git a/pkg_config.xml b/pkg_config.xml index 2f97754b..4570ff4b 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -221,7 +221,7 @@ test server or link availability and modify translation or routing rules. This p mtr-nox11-0.65_2.tbz 0.65_2 ALPHA ALPHA - http://www.pfsense.com/packages/config/mtr.xml + http://www.pfsense.com/packages/config/mtr-nox11 mtr.xml -- cgit v1.2.3