Commit e1175e3a authored by amnesia's avatar amnesia
Browse files

NM htp hook: ask htpdate to log to a file.

parent 87eea490
......@@ -32,6 +32,7 @@ if [[ $2 != "up" ]]; then
fi
LOG=/var/log/nm-htp.log
HTPDATE_LOG=/var/log/htpdate.log
declare -a HTP_POOL
HTP_POOL=(
......@@ -82,6 +83,7 @@ echo "${END_MAGIC}" >> /etc/hosts
/usr/local/sbin/htpdate \
-d \
-l "${HTPDATE_LOG}" \
-a "`/usr/local/bin/getTorbuttonUserAgent`" \
-f \
-u htp \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment