aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-07-09 12:39:31 +0000
committerBill Nottingham <notting@redhat.com>2003-07-09 12:39:31 +0000
commit5f40382ce1964ab1bfafe1299e71fe09b742d694 (patch)
treebc4c96b2499f100a87857b546182b61fa7646125 /sysconfig/network-scripts/network-functions
parent3f2cb4d9c8cb2a0687927c34506c12e83d65e991 (diff)
downloadinitscripts-5f40382ce1964ab1bfafe1299e71fe09b742d694.tar
initscripts-5f40382ce1964ab1bfafe1299e71fe09b742d694.tar.gz
initscripts-5f40382ce1964ab1bfafe1299e71fe09b742d694.tar.bz2
initscripts-5f40382ce1964ab1bfafe1299e71fe09b742d694.tar.xz
initscripts-5f40382ce1964ab1bfafe1299e71fe09b742d694.zip
fix it
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 0821654a..4bde6a63 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -42,10 +42,10 @@ source_config ()
exit 1
}
. $PARENTCONFIG
- [ -f "keys-$PARENTCONFIG" ] && . keys-$PARENTCONFIG
+ [ -f "keys-$PARENTDEVNAME" ] && . keys-$PARENTDEVNAME
fi
. $CONFIG
- [ -f "keys-$CONFIG" ] && . keys-$CONFIG
+ [ -f "keys-$DEVNAME" ] && . keys-$DEVNAME
case "$TYPE" in
Ethernet)
DEVICETYPE="eth"