Skip to content

Conversation

@sideeffect42
Copy link
Member

Instead of running rcctl ls on and grep(1)ing for the service of interest, we can just query the service's status. rcctl ls on does the same thing, but it queries the status for all services which is unnecessary for this case.

Further, the grep(1) (which interpreted the service name as a regular expression) is not necessary anymore. Another issue with the grep was that it printed the service name if it matched, breaking $state_is in manifest and gencode-remote.

Instead of running `rcctl ls on` and grep(1)ing for the service of interest, we
can just query the service's status.  `rcctl ls on` does the same thing, but it
queries the status for all services which is unnecessary for this case.

Further, the grep(1) (which interpreted the service name as a regular expression)
is not necessary anymore.  Another issue with the grep was that it printed the
service name if it matched, breaking `$state_is` in `manifest` and
`gencode-remote`.
@sideeffect42 sideeffect42 requested a review from 4nd3r October 26, 2025 19:32
@4nd3r 4nd3r merged commit d29c250 into skonfig:main Oct 28, 2025
1 check passed
@sideeffect42 sideeffect42 deleted the fix/type/__start_on_boot/openbsd-speedup branch October 28, 2025 08:56
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