Skip to content

Commit

Permalink
Added support for .conf in /usr/local/etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Arendtsen committed Apr 4, 2015
1 parent ac5de74 commit de13076
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion acts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ if [ -f acts.conf ] ; then
elif [ -f /etc/acts.conf ] ; then
. /etc/acts.conf
log_debug "Loaded /etc/acts.conf"
elif [ -f /usr/local/etc/acts.conf ] ; then
. /usr/local/etc/acts.conf
log_debug "Loaded /usr/local/etc/acts.conf"
else
log_message "No $(pwd)/acts.conf or /etc/acts.conf! Exiting."
log_message "No $(pwd)/acts.conf, /etc/acts.conf or /usr/local/etc/acts.conf! Exiting."
exit 1
fi
# Use default values if anything is not set
Expand Down

0 comments on commit de13076

Please sign in to comment.