Skip to content

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

Merged
openwrt-bot merged 2 commits intoopenwrt:mainfrom
neocturne:rc-dirs
Feb 27, 2026
Merged

Allow overriding init.d/rc.d paths (+ related cleanup)#30
openwrt-bot merged 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

@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.

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>
@openwrt-bot openwrt-bot merged commit 2881a59 into openwrt:main Feb 27, 2026
1 check failed
@neocturne neocturne deleted the rc-dirs branch February 27, 2026 19:05
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.

3 participants