From c608ffa75d8efb10e98222ce1df4219230fcfc2c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 10 May 2013 14:17:01 -0400 Subject: Tweak ifup/ifdown usage and man page to more clearly state that they refer to configurations, not devices. --- sysconfig/network-scripts/ifdown | 4 ++-- sysconfig/network-scripts/ifup | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sysconfig') 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 " >&2 + echo $"usage: ifdown " >&2 exit 1 } need_config "${CONFIG}" [ -f "$CONFIG" ] || { - echo $"usage: ifdown " >&2 + echo $"usage: ifdown " >&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 " >&2 + echo $"Usage: ifup " >&2 exit 1 } @@ -35,7 +35,7 @@ need_config "${CONFIG}" [ -f "${CONFIG}" ] || { echo $"$0: configuration for ${1} not found." >&2 - echo $"Usage: ifup " >&2 + echo $"Usage: ifup " >&2 exit 1 } -- cgit v1.2.1