mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00:00
Vebiage and highligh the token, also :::
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
7244d44a1d
commit
6c130b7960
@ -408,7 +408,7 @@ finalWork() {
|
|||||||
echo "::: Finshed debugging!"
|
echo "::: Finshed debugging!"
|
||||||
echo "::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only."
|
echo "::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only."
|
||||||
if [[ "${AUTOMATED}" ]]; then
|
if [[ "${AUTOMATED}" ]]; then
|
||||||
echo "Debug script running in automated mode, uploading log to tricorder..."
|
echo "::: Debug script running in automated mode, uploading log to tricorder..."
|
||||||
tricorder=$(cat /var/log/pihole_debug.log | nc tricorder.pi-hole.net 9999)
|
tricorder=$(cat /var/log/pihole_debug.log | nc tricorder.pi-hole.net 9999)
|
||||||
else
|
else
|
||||||
read -r -p "::: Would you like to upload the log? [y/N] " response
|
read -r -p "::: Would you like to upload the log? [y/N] " response
|
||||||
@ -423,8 +423,8 @@ finalWork() {
|
|||||||
fi
|
fi
|
||||||
# Check if tricorder.pi-hole.net is reachable and provide token.
|
# Check if tricorder.pi-hole.net is reachable and provide token.
|
||||||
if [ -n "${tricorder}" ]; then
|
if [ -n "${tricorder}" ]; then
|
||||||
echo "::: Your debug token is : ${tricorder}"
|
echo "::: ---=== Your debug token is : ${tricorder} Please make a note of it. ===---"
|
||||||
echo "::: Please contact the Pi-hole team with your token for assistance."
|
echo "::: Contact the Pi-hole team with your token for assistance."
|
||||||
echo "::: Thank you."
|
echo "::: Thank you."
|
||||||
else
|
else
|
||||||
echo "::: There was an error uploading your debug log."
|
echo "::: There was an error uploading your debug log."
|
||||||
|
Loading…
Reference in New Issue
Block a user