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

Run applications at startup #100

Open
VittorioTodisco opened this issue Nov 28, 2024 · 3 comments
Open

Run applications at startup #100

VittorioTodisco opened this issue Nov 28, 2024 · 3 comments

Comments

@VittorioTodisco
Copy link

Hello,

I am encountering issues with running applications at startup on PlutoSDR firmware version v0.39.

I created a script named S101test.sh and placed it in /etc/init.d. According to the rcS script, it iterates over all files in /etc/init.d with names starting with S* and executes them.

However, after rebooting, all files in /etc are removed, including my script.

Could you clarify the correct procedure for running custom scripts at startup in this version?

Thank you for your assistance!

@mhennerich
Copy link
Contributor

Pluto uses a ram based filesystem!

There are two supported ways for autostart.
From a USB mass storage drive

Or from the tiny jffs2 partition.
Please see here:

@VittorioTodisco
Copy link
Author

Thank you very much for your help!
I placed a script named autorun.sh in /mnt/jffs2, and now my program runs successfully at startup.

@DCZYewen
Copy link

DCZYewen commented Jan 4, 2025

refer to issue#74, supported since 0.36

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

3 participants