Added "deb-live/config/cnas-custom-settings.d" directory

This commit is contained in:
frisco 2009-01-12 00:12:07 +00:00
parent b9d56c4682
commit d3543f3988

View file

@ -24,8 +24,17 @@ CNAS_CONFIG_DIR="config"
. ${CNAS_CONFIG_DIR}/cnas-default-settings
#Include files in "cnas-custom-settings.d" directory
if [ -d ${CNAS_CONFIG_DIR}/cnas-custom-settings.d ]
then
for include_file in `find ${CNAS_CONFIG_DIR}/cnas-custom-settings.d -type f -print`
do
. "$include_file"
done
fi
#Include cnas-custom-settings IFF this file exists
#Include "cnas-custom-settings" IFF this file exists. Variables here can
#override those in "cnas-custom-settings.d" directory.
[ -f ${CNAS_CONFIG_DIR}/cnas-custom-settings ] && . ${CNAS_CONFIG_DIR}/cnas-custom-settings