From 3e05cdd09405cc6133ebf38ea9ee9afc50fb280f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 4 Aug 2003 22:45:25 +0000 Subject: Initial checkin git-svn-id: file:///home/lennart/svn/public/ifmetric/trunk@3 b1ab5a0b-19c4-0310-9d9a-ef184d715f50 --- man/Makefile.am | 30 +++++++++++++++++++++ man/ifmetric.8.xml.in | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 man/Makefile.am create mode 100644 man/ifmetric.8.xml.in (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..26be22c --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +# This file is part of ifmetric. +# +# ifmetric is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# ifmetric is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with ifmetric; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +man_MANS = ifmetric.8 + +EXTRA_DIST = $(man_MANS) ifmetric.8.xml.in + +if USE_XMLTOMAN + +CLEANFILES = $(man_MANS) + +ifmetric.8: ifmetric.8.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' $< | xmltoman - > $@ + +endif diff --git a/man/ifmetric.8.xml.in b/man/ifmetric.8.xml.in new file mode 100644 index 0000000..050cb4d --- /dev/null +++ b/man/ifmetric.8.xml.in @@ -0,0 +1,73 @@ + + + + + + + + + + + ifmetric INTERFACE [METRIC] + + +

ifmetric is a Linux tool for setting the metrics of all + IPv4 routes attached to a given network interface at once. This + may be used to change the priority of routing IPv4 traffic over + the interface. Lower metrics correlate with higher + priorities.

+ +

ifmetric uses the Linux NETLINK interface to manipulate the + routes. Because of that it is compatible with routes created with + the new iproute2 utility.

+
+ + + +

You should specify the interface name as first parameter. The + second parameter should be the new metric. If ommited the metric + 0 (highest) is used.

+ +
+ +
+

0 Success

+

1 Failure

+
+ +
+

ifmetric was written by Lennart Poettering + <@PACKAGE_BUGREPORT@>. ifmetric is available + at +

+
+ +
+

+ , iproute2 +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
-- cgit