aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2013-05-10 14:17:01 -0400
committerLukas Nykryn <lnykryn@redhat.com>2013-05-24 12:25:00 +0200
commitc608ffa75d8efb10e98222ce1df4219230fcfc2c (patch)
tree203e047ad9137351f1519cadf6cd7f46c13f9918
parent872fb9d5af99b9df2c882965510094b9168f3e62 (diff)
downloadinitscripts-c608ffa75d8efb10e98222ce1df4219230fcfc2c.tar
initscripts-c608ffa75d8efb10e98222ce1df4219230fcfc2c.tar.gz
initscripts-c608ffa75d8efb10e98222ce1df4219230fcfc2c.tar.bz2
initscripts-c608ffa75d8efb10e98222ce1df4219230fcfc2c.tar.xz
initscripts-c608ffa75d8efb10e98222ce1df4219230fcfc2c.zip
Tweak ifup/ifdown usage and man page to more clearly state that they refer to configurations, not devices.
-rw-r--r--src/ifup.84
-rwxr-xr-xsysconfig/network-scripts/ifdown4
-rwxr-xr-xsysconfig/network-scripts/ifup4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ifup.8 b/src/ifup.8
index 3a492cd0..1cf1fcd8 100644
--- a/src/ifup.8
+++ b/src/ifup.8
@@ -5,9 +5,9 @@ ifup - bring a network interface up
ifdown - take a network interface down
.SH SYNOPSIS
-.B ifup IFACE [boot]
+.B ifup CONFIG [boot]
-.B ifdown IFACE
+.B ifdown CONFIG
.SH DESCRIPTION
The
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index b78e9438..65608ee2 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -12,14 +12,14 @@ cd /etc/sysconfig/network-scripts
CONFIG=$1
[ -z "$CONFIG" ] && {
- echo $"usage: ifdown <device name>" >&2
+ echo $"usage: ifdown <configuration>" >&2
exit 1
}
need_config "${CONFIG}"
[ -f "$CONFIG" ] || {
- echo $"usage: ifdown <device name>" >&2
+ echo $"usage: ifdown <configuration>" >&2
exit 1
}
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 3582d04e..d16eca68 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -27,7 +27,7 @@ cd /etc/sysconfig/network-scripts
CONFIG=${1}
[ -z "${CONFIG}" ] && {
- echo $"Usage: ifup <device name>" >&2
+ echo $"Usage: ifup <configuration>" >&2
exit 1
}
@@ -35,7 +35,7 @@ need_config "${CONFIG}"
[ -f "${CONFIG}" ] || {
echo $"$0: configuration for ${1} not found." >&2
- echo $"Usage: ifup <device name>" >&2
+ echo $"Usage: ifup <configuration>" >&2
exit 1
}