summaryrefslogtreecommitdiff
path: root/functions/conffile.sh
blob: 5df00d3c5641e2d1f5ef689af3478db1ecdb3346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# conffile.sh - handle configuration files

set -e

Read_conffile ()
{
	CONFFILE="${1}"

	# Reading configuration file
	if [ -r "${CONFFILE}" ]
	then
		. "${CONFFILE}"
	fi
}