aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-01-28 11:15:06 -0500
committerBill Nottingham <notting@redhat.com>2009-01-28 11:15:06 -0500
commit8c627efcbd559591360503deb4231a25ffa23190 (patch)
treeba41c18154f2fad8311a973f4bbc90eb2fd7f569 /sysconfig/network-scripts/network-functions
parent6baf5fc0c6696bb5f1c721ca7b9403236e88fea2 (diff)
downloadinitscripts-8c627efcbd559591360503deb4231a25ffa23190.tar
initscripts-8c627efcbd559591360503deb4231a25ffa23190.tar.gz
initscripts-8c627efcbd559591360503deb4231a25ffa23190.tar.bz2
initscripts-8c627efcbd559591360503deb4231a25ffa23190.tar.xz
initscripts-8c627efcbd559591360503deb4231a25ffa23190.zip
Use a leading path marker when sourcing files. (#482826)
bash 4 breaks the prior code.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 05d0bca1..7c0dff8e 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -74,11 +74,11 @@ source_config ()
echo $"Missing config file $PARENTCONFIG." >&2
exit 1
}
- . $PARENTCONFIG
- [ -r "keys-$PARENTDEVNAME" ] && . keys-$PARENTDEVNAME
+ . ./$PARENTCONFIG
+ [ -r "keys-$PARENTDEVNAME" ] && . ./keys-$PARENTDEVNAME
fi
- . $CONFIG
- [ -r "keys-$DEVNAME" ] && . keys-$DEVNAME
+ . ./$CONFIG
+ [ -r "keys-$DEVNAME" ] && . ./keys-$DEVNAME
case "$TYPE" in
Ethernet)
DEVICETYPE="eth"