Skip to content

Conversation

@macie
Copy link
Contributor

@macie macie commented Feb 8, 2025

This is a part of enabling support for OpenWrt, see: #1600.

(more details in commit messages)

macie added 3 commits February 8, 2025 17:24
This is the first step to fix error on OpenWrt without changing current
behavior.
OpenWrt can be run on devices with little resource, so it can miss some BusyBox
commands (eg. hostname). The standard way of gathering info about OpenWrt is by
the `uci` command, see: <https://openwrt.org/docs/guide-user/base-system/uci>.
To save resources, BusyBox for OpenWrt is compiled without support for
character classes in `tr` command (FEATURE_TR_CLASSES). In that case `tr`
treats `[:alnum:]` like a group of single characters, so it misses all numbers
and most of letters.
@macie macie mentioned this pull request Feb 8, 2025
5 tasks
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.

1 participant