lncm / pi-factory

Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux

Home Page:https://lncm.io/project/box/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify all scripts work with sh

meeDamian opened this issue · comments

Ideally also set up linter for it.

Let's try to avoid bash?

I recommend sh + python3 for more complex things - opinions?

I would recommend the initial stage (/etc/init.d/lncm) and related parts to be in ash

After the first reboot persistent installation is done. More complex things can be done with python3, which is conveniently installed by /etc/init.d/lncm-post

So… it's possible to have init.d/ scripts written in anything else than they already are?

What's #!/sbin/openrc-run ?

It’s not really possible, they have to be written in openrc compatible ash.

However they can hand off control to other callables

Sent with GitHawk