aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-02 18:12:54 +0000
committerBill Nottingham <notting@redhat.com>2001-08-02 18:12:54 +0000
commit4243ae04d6a405affb743bec9a1e72637ef60e67 (patch)
tree55f107228c184c7d2a48238a8825f1728a6190a5 /sysconfig/network-scripts/network-functions
parent43a1ade3deb73903ab610af0d091189bcbe3372e (diff)
downloadinitscripts-4243ae04d6a405affb743bec9a1e72637ef60e67.tar
initscripts-4243ae04d6a405affb743bec9a1e72637ef60e67.tar.gz
initscripts-4243ae04d6a405affb743bec9a1e72637ef60e67.tar.bz2
initscripts-4243ae04d6a405affb743bec9a1e72637ef60e67.tar.xz
initscripts-4243ae04d6a405affb743bec9a1e72637ef60e67.zip
don't worry about profiles just now. look for alternate config files that contain the correct MAC address for the adapter
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions16
1 files changed, 2 insertions, 14 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index f759682e..ee6b3356 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -6,9 +6,9 @@
need_config()
{
[ -f "${CONFIG}" ] || \
- CONFIG=../networking/`current_profile`/${1}
+ CONFIG=../networking/default/${1}
[ -f "${CONFIG}" ] || \
- CONFIG=../networking/`current_profile`/ifcfg-${1}
+ CONFIG=../networking/default/ifcfg-${1}
[ -f "${CONFIG}" ] || \
CONFIG="ifcfg-${1}"
}
@@ -181,15 +181,3 @@ is_wireless_device ()
fi
return 1
}
-
-
-current_profile ()
-{
- if [ "${CURRENT_PROFILE}" != "" ]; then
- echo ${CURRENT_PROFILE}
- elif [ "${DEFAULT_PROFILE}" != "" ]; then
- echo ${DEFAULT_PROFILE}
- else
- echo "default"
- fi
-}