upload log to dev

This commit is contained in:
Hendrik Schutter 2020-10-01 17:52:46 +02:00
parent 3d34de1311
commit 45a5cb303b
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ nano /root/reHDDSettings.sh
```
#!/bin/bash
dmesg -n 1 #disable overlay if a drive is attached/detached
# remove comment for the following to activate log telemetie
# curl -k -T /root/reHDD/reHDD.log -u "ra7466BsoSPqJFG:" -H 'X-Requested-With: XMLHttpRequest' https://schuttercloud.com/public.php/webdav/`echo $(date '+%Y-%m-%d_%H-%M')`_reHDD.log
rm -f /root/reHDD/reHDD.log
```
Make sure the binary reHDD is in /root/reHDD/