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

Add instructions to execute startup script from /etc/jffs2/ #2

Open
JayGoldberg opened this issue Aug 4, 2021 · 0 comments
Open

Add instructions to execute startup script from /etc/jffs2/ #2

JayGoldberg opened this issue Aug 4, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@JayGoldberg
Copy link
Owner

Currently there is no way to start/daemonize custom code at startup since the squashfs at / and /usr are not writable.

But if we extract the squashfs, add a hook from /etc/init.d/rc.local to run /etc/jffs2/startup.sh then we have an entrypoint in a writable place to run whatever we want.

@JayGoldberg JayGoldberg added the enhancement New feature or request label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant