46-configure-htpdate 251 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

echo "Configuring htpdate HTTP User-Agent"

CONFFILE='/etc/default/htpdate.user-agent'

install -o root -g root -m 0644 /dev/null "$CONFFILE"

echo "HTTP_USER_AGENT=\"$(/usr/local/bin/getTorBrowserUserAgent)\"" \
     > "$CONFFILE"