mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Wording changes and bug fix
This commit is contained in:
parent
da9ff0cc66
commit
b9f2ba0717
1 changed files with 3 additions and 2 deletions
5
pihole
5
pihole
|
@ -277,7 +277,8 @@ tricorderFunc() {
|
||||||
if command -v openssl &> /dev/null; then
|
if command -v openssl &> /dev/null; then
|
||||||
openssl s_client -quiet -connect tricorder.pi-hole.net:9998 2> /dev/null < /dev/stdin
|
openssl s_client -quiet -connect tricorder.pi-hole.net:9998 2> /dev/null < /dev/stdin
|
||||||
else
|
else
|
||||||
echo "The debug log will be transmitted insecurely via plain-text"
|
echo "Your debug log will be transmitted unencrypted via plain-text"
|
||||||
|
echo "There is a possibility that this could be intercepted by a third party"
|
||||||
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
|
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
|
||||||
secs="10"
|
secs="10"
|
||||||
while [ "$secs" -gt 0 ]; do
|
while [ "$secs" -gt 0 ]; do
|
||||||
|
@ -286,7 +287,7 @@ tricorderFunc() {
|
||||||
: $((secs--))
|
: $((secs--))
|
||||||
done
|
done
|
||||||
echo " "
|
echo " "
|
||||||
nc tricorder.pi-hole.net 9999 < /dev/stdin < /dev/stdin
|
nc tricorder.pi-hole.net 9999 < /dev/stdin
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue