Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop the service again ? #16

Open
mimes123 opened this issue Nov 20, 2022 · 3 comments
Open

How to stop the service again ? #16

mimes123 opened this issue Nov 20, 2022 · 3 comments

Comments

@mimes123
Copy link

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

@denven
Copy link
Collaborator

denven commented Nov 21, 2022

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

  • find the lines containing GDriveUploader or GDriveAutoremover and remove them. Usually, they are located at the end of the file.
  • save the file
  • reboot your camera

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

@mimes123
Copy link
Author

do you have an example I can see ?

@denven
Copy link
Collaborator

denven commented Nov 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants