aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-11-02 12:56:06 -0500
committerBill Nottingham <notting@redhat.com>2009-11-02 12:56:06 -0500
commitd70b2ef816de3207b42019aa33595ac56fdc911f (patch)
tree83a3a427b9d8c4a3a349f3081adb79c89c8b875e
parent5686d5afd4f5236ddca88884b6c466e63c5c0d72 (diff)
downloadinitscripts-d70b2ef816de3207b42019aa33595ac56fdc911f.tar
initscripts-d70b2ef816de3207b42019aa33595ac56fdc911f.tar.gz
initscripts-d70b2ef816de3207b42019aa33595ac56fdc911f.tar.bz2
initscripts-d70b2ef816de3207b42019aa33595ac56fdc911f.tar.xz
initscripts-d70b2ef816de3207b42019aa33595ac56fdc911f.zip
Add initial ifup/ifdown man pages. (#529328, <plautrba@redhat.com>)
-rw-r--r--src/Makefile2
-rw-r--r--src/ifup.836
2 files changed, 38 insertions, 0 deletions
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-<configuration>
+
+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-<configuration>\fR
+The file defining an interface.
+
+.SH "SEE ALSO"
+/usr/share/doc/initscripts-*/sysconfig.txt