Skip to content

Commit

Permalink
fix perm (#77)
Browse files Browse the repository at this point in the history
* allow speedtest log to be read
  • Loading branch information
ipitio authored Feb 28, 2024
1 parent 06bd889 commit a666084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions advanced/Scripts/speedtestmod/speedtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ savetest() {
local json_file="/tmp/speedtest_results"
jq "$rm_empty" "$json_file" > "$temp_file" && mv -f "$temp_file" "$json_file"
rm -f "$temp_file"
chmod 644 /tmp/speedtest_results
mv -f /tmp/speedtest_results /var/log/pihole/speedtest.log
cp -af /var/log/pihole/speedtest.log /etc/pihole/speedtest.log
rm -f "$out"
Expand Down

0 comments on commit a666084

Please sign in to comment.