upload log to dev
This commit is contained in:
parent
3d34de1311
commit
45a5cb303b
|
@ -66,6 +66,8 @@ nano /root/reHDDSettings.sh
|
||||||
```
|
```
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dmesg -n 1 #disable overlay if a drive is attached/detached
|
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
|
rm -f /root/reHDD/reHDD.log
|
||||||
```
|
```
|
||||||
Make sure the binary reHDD is in /root/reHDD/
|
Make sure the binary reHDD is in /root/reHDD/
|
||||||
|
|
Loading…
Reference in New Issue