aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-07-11 19:08:30 +0000
committerBill Nottingham <notting@redhat.com>2001-07-11 19:08:30 +0000
commit89dc8d4b510e5f99df4492748e1979d065e9be7a (patch)
tree41cebeed1cd9eef44374b8ecef9ef7937bb98b4d /sysconfig/network-scripts/ifup
parent0cb462135bc4125475444116231328606ea6cba3 (diff)
downloadinitscripts-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/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup7
1 files changed, 1 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 214f42ea..20c079bd 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -28,12 +28,7 @@ CONFIG=${1}
exit 1
}
-[ -f "${CONFIG}" ] || \
- CONFIG=../networking/`current_profile`/${1}
-[ -f "${CONFIG}" ] || \
- CONFIG=../networking/`current_profile`/"ifcfg-${1}"
-[ -f "${CONFIG}" ] || \
- CONFIG="ifcfg-${1}"
+need_config
[ -f "${CONFIG}" ] || {
echo $"$0: configuration for \"${1}\" not found." >&2