Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
e1175e3a
Commit
e1175e3a
authored
Aug 08, 2010
by
amnesia
Browse files
NM htp hook: ask htpdate to log to a file.
parent
87eea490
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/etc/NetworkManager/dispatcher.d/50-htp.sh
View file @
e1175e3a
...
...
@@ -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
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment