Skip to content

Conversation

dustin-richards-was-here
Copy link
Contributor

Fixes an issue I came across where two of pretty much every yi-hack service was running, causing all sorts of issues. I'm not sure why this was happening, but lower_half_init.sh was consistently being ran twice on boot, about 4 seconds apart. Using firmware 9.0.36.03_202109231441.

Would a guard like this make sense to include in all the lower_half_init.sh scripts? I don't see it doing any harm, my biggest question is does /tmp start fresh on all cameras like it does on my y211ga?

Fixes an issue I came across where two of pretty much every yi-hack
service was running, causing all sorts of issues.
@roleoroleo
Copy link
Owner

I've never seen this problem. Check if /backup/init.sh calls the script twice.
But your pr is free :)
I will add it to the other cams too.
Thanks.

@roleoroleo roleoroleo merged commit 3a3672f into roleoroleo:master May 3, 2024
thelittlefireman added a commit to thelittlefireman/yi-hack-Allwinner-v2 that referenced this pull request May 7, 2024
roleoroleo added a commit that referenced this pull request May 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants