File kvm-container-functions of Package kvm-container
#!/bin/sh
if [ -z ${CONF} ]; then CONF=/etc/kvm-container.conf; fi
if [ -z ${DEFAULT_CONF} ]; then DEFAULT_CONF=/etc/default/kvm-container; fi
echo "using ${CONF} as configuration file"
check_load_config_file() {
if [ -f ${CONF} ]; then
source ${CONF}
else
echo "!! ${CONF} not found in path !!"
exit 1
fi
if [ -e ${DEFAULT_CONF} ]; then
source ${DEFAULT_CONF}
fi
}