From d70b2ef816de3207b42019aa33595ac56fdc911f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 2 Nov 2009 12:56:06 -0500 Subject: Add initial ifup/ifdown man pages. (#529328, ) --- src/Makefile | 2 ++ src/ifup.8 | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/ifup.8 diff --git a/src/Makefile b/src/Makefile index 54361c90..29ea6d45 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,6 +45,8 @@ install: install -m 644 ppp-watch.8 $(ROOT)$(mandir)/man8 install -m 644 ipcalc.1 $(ROOT)$(mandir)/man1 install -m 644 consoletype.1 $(ROOT)$(mandir)/man1 + install -m 644 ifup.8 $(ROOT)$(mandir)/man8 + ln -s ifup.8 $(ROOT)$(mandir)/man8/ifdown.8 # this daemon and initscript are useful for testing the up/down/status stuff # not installed by default, only comes from sources. diff --git a/src/ifup.8 b/src/ifup.8 new file mode 100644 index 00000000..3a492cd0 --- /dev/null +++ b/src/ifup.8 @@ -0,0 +1,36 @@ +.\" Copyright 2009 Petr Lautrbach (plautrba@redhat.com) +.TH ifup 8 2009-10-27 "" "System Administration tools and Daemons" +.SH NAME +ifup - bring a network interface up + +ifdown - take a network interface down +.SH SYNOPSIS +.B ifup IFACE [boot] + +.B ifdown IFACE + +.SH DESCRIPTION +The +.B ifup +and +.B ifdown +commands may be used to configure (or, respec- +tively, deconfigure) network interfaces based on interface definitions +in the files /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg- + +These scripts take one argument normally: the name of the configuration +(e.g. eth0). They are called with a second argument of "boot" +during the boot sequence so that devices that are not meant to +be brought up on boot (ONBOOT=no, see below) can be ignored at +that time. + +.SH FILES +.TP +\fB/etc/sysconfig/network\fR + +.TP +\fB/etc/sysconfig/network-scripts/ifcfg-\fR +The file defining an interface. + +.SH "SEE ALSO" +/usr/share/doc/initscripts-*/sysconfig.txt -- cgit v1.2.1