# in the section name otherwise the section will not be resognised.
# Section name must be contained between square brackets.
get_config_sections() {
- sed -n -e "s/^\[\([[:alnum:]_]*\)\]/\1/p" < $1
+ sed -n -e "s/^\[\([[:alnum:]_-]*\)\]/\1/p" < $1
}
if [ ! -f "$HOST_OPTIONS" ]; then