
#!/bin/sh
# File	: rd_conf-file.sh
# By	: Maarten.deBoer@atos.net, 170921
# Subject	: Script to read conf(ig) file and make VAR's of it
#set -x
PGM=`basename $0|cut -d\. -f1`
VER="0.1"
TMP="/tmp/${PGM}.$$"
CONF="${HOME}/etc/${PGM}.conf"

if [ -f ${CONF} ]; then
  echo "  CONF (${CONF}) found. So reading it"
  . ${CONF}
  if [ ${QUOTA} ]; then
    echo ${QUOTA}
  fi
  if [ ${LOG} ]; then
    echo "touch LOG-file"
    touch ${LOG}
  fi

else
  echo "  No CONF (${CONF}) file."

fi  # ETC







exit 0

