forked from Lainports/freebsd-ports
Backport support for /usr/local/etc/acts.conf as default config location Remove ionice reference from sample config file
15 lines
542 B
Text
15 lines
542 B
Text
--- acts.orig 2014-12-24 00:50:43 UTC
|
|
+++ acts
|
|
@@ -31,8 +31,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
|