friendly-bits
friendly-bits
Never mind, just tested with an iso of Alpine - both commands indicate busybox.
So far I've come up with this method which detects OpenRC on both Alpine and Gentoo: ``` { rc_service_f="$(command -v 'rc-service')" && awk 'match($0, /(OpenRC|openrc)/) { print substr($0, RSTART, RLENGTH);exit;...
Hi @superjamie , thanks again for raising this issue. I've been quite busy recently, sorry that it took a long time to address it. Current version 0.5.8 supports running the...
Thank you for submitting the PR. Before reviewing the proposed changes: - Currently geoip-shell implements persistence via an init script on OpenWrt as an exclusion to the general rule of...
OpenRC runlevels appear to be configurable, so a user could define their own runlevels and use them however they like, and/or set a different runlevel as the default, rather than...
Hi @superjamie , are you still interested in this PR?
> You can just `rc-update add local` and openrc applies the correct default runlevel. This definitely sounds like a good solution, however changing the default runlevel in `/etc/rc.conf` to `sysinit`,...
> ```shell > [ ! -z "$rc_def_runlevel" ] && [ -d "/etc/runlevels/${rc_def_runlevel}" ] || rc_def_runlevel="default" > ``` This is much cleaner than my solution, for sure. It only has one...
> I must admit that sed expression is a bit beyond me and I'm not comfortable committing something I don't understand. That would not be very responsible of me. This...
Thank you. I'm kinda busy with other stuff rn so couldn't attend to this yet. May need to wait till the end of this week.