Skip to content

Conversation

@sideeffect42
Copy link
Member

@sideeffect42 sideeffect42 commented Aug 30, 2025

Add support for NetBSD to __start_on_boot type.

Most of the code here is figuring out the correct rcvar. Most of the times the rcvar is identical to the service name, but not always.
e.g. /etc/rc.d/nfsd uses rcvar=nfs_server and thus needs nfs_server=YES in /etc/rc.conf to be enabled.

Tested on NetBSD 6.1-10.1.

@sideeffect42 sideeffect42 force-pushed the feature/type/__start_on_boot/netbsd-support branch from 4494313 to 293a4bc Compare August 31, 2025 10:25
@sideeffect42 sideeffect42 force-pushed the feature/type/__start_on_boot/netbsd-support branch from 293a4bc to ed80ddf Compare August 31, 2025 12:07
@sideeffect42 sideeffect42 requested a review from 4nd3r August 31, 2025 12:10
@4nd3r 4nd3r merged commit d21080f into skonfig:main Aug 31, 2025
1 check passed
@sideeffect42 sideeffect42 deleted the feature/type/__start_on_boot/netbsd-support branch August 31, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants