From 4243ae04d6a405affb743bec9a1e72637ef60e67 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 2 Aug 2001 18:12:54 +0000 Subject: don't worry about profiles just now. look for alternate config files that contain the correct MAC address for the adapter --- sysconfig/network-scripts/network-functions | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'sysconfig/network-scripts/network-functions') 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 -} -- cgit v1.2.1