aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions10
1 files changed, 0 insertions, 10 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 7c0dff8e..8c720598 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -67,16 +67,6 @@ need_config ()
source_config ()
{
DEVNAME=`basename $CONFIG | sed 's/^ifcfg-//g'`
- if echo ${CONFIG##*/} | grep -q '[^g]-' ; then
- PARENTCONFIG=`echo $CONFIG | sed 's/-[^-]*$//g'`
- PARENTDEVNAME=${PARENTCONFIG##*/ifcfg-}
- [ -f $PARENTCONFIG ] || {
- echo $"Missing config file $PARENTCONFIG." >&2
- exit 1
- }
- . ./$PARENTCONFIG
- [ -r "keys-$PARENTDEVNAME" ] && . ./keys-$PARENTDEVNAME
- fi
. ./$CONFIG
[ -r "keys-$DEVNAME" ] && . ./keys-$DEVNAME
case "$TYPE" in