aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-06-30 19:10:16 +0000
committerBill Nottingham <notting@redhat.com>2003-06-30 19:10:16 +0000
commite16932e092fb64e788f465d6c0d683c893a2bec0 (patch)
tree2bda244655e66c8b305eccb10a85ab7a80a1b08b /sysconfig/network-scripts/network-functions
parentbe897f4ad5d4f9dc88ec39acf399656ba5c96d9f (diff)
downloadinitscripts-e16932e092fb64e788f465d6c0d683c893a2bec0.tar
initscripts-e16932e092fb64e788f465d6c0d683c893a2bec0.tar.gz
initscripts-e16932e092fb64e788f465d6c0d683c893a2bec0.tar.bz2
initscripts-e16932e092fb64e788f465d6c0d683c893a2bec0.tar.xz
initscripts-e16932e092fb64e788f465d6c0d683c893a2bec0.zip
read $CONFIG.keys too... you can put non-world-readable keys here.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 19a274e5..f909b957 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -42,8 +42,10 @@ source_config ()
exit 1
}
. $PARENTCONFIG
+ [ -f "$PARENTCONFIG.keys" ] && . $PARENTCONFIG.keys
fi
. $CONFIG
+ [ -f "$CONFIG.keys" ] && . $CONFIG.keys
case "$TYPE" in
Ethernet)
DEVICETYPE="eth"