Skip to content

Allow overriding init.d/rc.d paths (+ related cleanup)#30

Open
neocturne wants to merge 2 commits intoopenwrt:mainfrom
neocturne:rc-dirs
Open

Allow overriding init.d/rc.d paths (+ related cleanup)#30
neocturne wants to merge 2 commits intoopenwrt:mainfrom
neocturne:rc-dirs

Conversation

@neocturne
Copy link
Member

The first commit constifies a few variables where appropriate, some of them to prepare for the second commit.

The second commit introduces the -I and -R options which can used to override the paths /etc/init.d and /etc/rc.d, allowing for some runlevel-like usecases.

This will be used in Gluon [1] to support a 'config mode', which is currently realized using a downstream patch.

[1] https://github.com/freifunk-gluon/gluon

Signed-off-by: Nora Schiffer <neocturne@universe-factory.net>
Introduce -I and -R arguments which can be used to override the paths
/etc/init.d and /etc/rc.d, allowing for some runlevel-like usecases.

This will be used in Gluon [1] to support a 'config mode', which is
currently realized using a downstream patch.

[1] https://github.com/freifunk-gluon/gluon

Signed-off-by: Nora Schiffer <neocturne@universe-factory.net>
@lynxis
Copy link
Member

lynxis commented Feb 13, 2026

LGTM.

Why is the CI failing?
Looks to me the CI is outdated.

@lynxis lynxis self-requested a review February 13, 2026 09:48
Copy link
Member

@lynxis lynxis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great if you could push it yourself with the signed commits.

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