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

reboot on fatal implementation #104

Open
Magycsys opened this issue May 27, 2021 · 1 comment
Open

reboot on fatal implementation #104

Magycsys opened this issue May 27, 2021 · 1 comment

Comments

@Magycsys
Copy link

I have no idea on how to implement .reboot_on_fatal in a a9g board, can anyone please help me?

@ens4dz
Copy link

ens4dz commented Aug 11, 2021

Just creat file with that name, for ex:

with open('/.reboot_on_fatal', 'w') as f: 
    pass

Look at:

int fd = API_FS_Open(".reboot_on_fatal", FS_O_RDONLY, 0);

Just note this didn't help if module got halted

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