aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-04-21 17:50:29 -0400
committerBill Nottingham <notting@redhat.com>2009-04-21 17:50:29 -0400
commit36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0 (patch)
tree53be3bb8861342fffe27bb59fcb612d6f32b5d1f
parent076e653acc1fa0ba7a7f7643aa8a4c1298584144 (diff)
downloadinitscripts-36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0.tar
initscripts-36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0.tar.gz
initscripts-36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0.tar.bz2
initscripts-36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0.tar.xz
initscripts-36e4b0ebc22afe4cdf24c961a5a06bf69e9f12e0.zip
Explicitly source from the proper directory. (#496233)
-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 628cae47..c25deef4 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -68,8 +68,8 @@ source_config ()
{
CONFIG=${CONFIG##*/}
DEVNAME=${CONFIG##ifcfg-}
- . ./$CONFIG
- [ -r "keys-$DEVNAME" ] && . ./keys-$DEVNAME
+ . /etc/sysconfig/network-scripts/$CONFIG
+ [ -r "keys-$DEVNAME" ] && . /etc/sysconfig/network-scripts/keys-$DEVNAME
case "$TYPE" in
Ethernet)
DEVICETYPE="eth"