aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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