diff options
author | Bill Nottingham <notting@redhat.com> | 2001-07-11 19:08:30 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-07-11 19:08:30 +0000 |
commit | 89dc8d4b510e5f99df4492748e1979d065e9be7a (patch) | |
tree | 41cebeed1cd9eef44374b8ecef9ef7937bb98b4d /sysconfig/network-scripts/ifdown | |
parent | 0cb462135bc4125475444116231328606ea6cba3 (diff) | |
download | initscripts-89dc8d4b510e5f99df4492748e1979d065e9be7a.tar initscripts-89dc8d4b510e5f99df4492748e1979d065e9be7a.tar.gz initscripts-89dc8d4b510e5f99df4492748e1979d065e9be7a.tar.bz2 initscripts-89dc8d4b510e5f99df4492748e1979d065e9be7a.tar.xz initscripts-89dc8d4b510e5f99df4492748e1979d065e9be7a.zip |
move looking for config files into network-functions (#48741)
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index 1cd03d7c..eec308e4 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -13,7 +13,8 @@ CONFIG=$1 exit 1 } -[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG +need_config + [ -f "$CONFIG" ] || { echo $"usage: ifdown <device name>" >&2 exit 1 |