roleoroleo / yi-hack-MStar.gdrive

Google drive loader for yi smart ip camera (MStar based)
MIT License
25 stars 6 forks source link

How to stop the service again ? #16

Open mimes123 opened 1 year ago

mimes123 commented 1 year ago

hi is there a command over ssh I can use if I want to stop uploading to gdrive anymore ?

denven commented 1 year ago

hi is there a command over ssh I can use if I want to stop uploading to gdrive anymore ?

You can edit file /tmp/sd/yi-hack/startup.sh via vi /tmp/sd/yi-hack/startup.sh

⚠️ Be careful when editing that file, make sure you don't mess up other lines in the file.

mimes123 commented 1 year ago

do you have an example I can see ?

denven commented 1 year ago

do you have an example I can see ?

My /tmp/sd/yi-hack/startup.sh only contains those 2 lines, i guess yours will be the same.

sh /tmp/sd/yi-hack/gdrive/GDriveUploader
sh /tmp/sd/yi-hack/gdrive/GDriveAutoremover

image

then exit ssh, and reboot your camera manually.