-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tearran
committed
Apr 4, 2024
1 parent
5e8327b
commit ac7ae34
Showing
1 changed file
with
66 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1,83 @@ | ||
|
||
# Armbian configuration utility | ||
Utility for configuring your board, adjusting services and installing applications. | ||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 300 300"> | ||
<g transform="translate(-490 -250)"> | ||
<path d="m531.27 266.49c-18.24 0-24.775 6.5634-24.775 24.775-2.7972 0-17.438-1.6276-14.991 4.3366 1.5539 3.7891 11.675 2.0864 14.991 2.0864v7.3409h-15.599c0.28666 8.7296 8.9244 6.423 15.599 6.423v6.4229h-15.599c0.28668 8.6209 9.0411 6.4229 15.599 6.4229v6.4229c-3.6404 0-11.14-1.425-14.127 0.94235-7.9785 6.3216 11.963 6.3985 14.127 6.3985v6.4229h-15.599v5.5055h15.599v7.3409c-6.6746 0-15.313-2.3064-15.599 6.4229 6.4474 0 14.957-1.9998 15.599 6.423-6.5579 0-15.313-2.1978-15.599 6.4229 6.4474 0 14.957-1.9999 15.599 6.4229-2.1649 0-22.106 0.0767-14.127 6.3985 2.988 2.3673 10.486 0.94233 14.127 0.94233-0.3013 9.2518-8.4634 7.3409-15.599 7.3409v5.5055h15.599v7.3408h-15.599c0.28666 8.7296 8.9244 6.423 15.599 6.423v6.4229h-15.599c0.28666 8.7296 8.9244 6.423 15.599 6.423v6.4229h-15.599v6.423h15.599v7.3408h-15.599v5.5055c7.1357 0 15.298-1.9116 15.599 7.3409-6.6746 0-15.313-2.3064-15.599 6.4229l15.599 0.9176v5.5055c-6.5579 0-15.313-2.1978-15.599 6.4229h15.599v7.3409h-15.599c0.28666 8.7296 8.9244 6.423 15.599 6.423v7.3408h-15.599c0.60794 7.8026 9.6604 5.5055 15.599 5.5055 0 18.486 6.2886 24.775 24.775 24.775 0 2.7972-1.6276 17.438 4.3366 14.991 3.789-1.5539 2.0865-11.675 2.0865-14.991 9.2518 0.30131 7.3409 8.4634 7.3409 15.599 8.7296-0.28665 6.4229-8.9244 6.4229-15.599h6.4229v15.599c8.7296-0.28665 6.423-8.9244 6.423-15.599h6.4229c0 3.6404-1.4249 11.14 0.94234 14.127 6.3216 7.9784 6.3985-11.963 6.3985-14.127h6.4229v15.599h5.5055v-15.599h7.3408c0 3.6404-1.4249 11.14 0.94236 14.127 6.3216 7.9784 6.3985-11.963 6.3985-14.127h6.4229v15.599c8.6209-0.28668 6.423-9.0411 6.423-15.599h6.4229v15.599c8.7296-0.28665 6.423-8.9244 6.423-15.599h6.4229c0 2.9095-1.7644 17.416 4.3139 14.991 3.8146-1.5216 2.1092-11.679 2.1092-14.991h7.3408c0 2.9095-1.7644 17.416 4.314 14.991 3.8146-1.5217 2.1092-11.679 2.1092-14.991h6.423v15.599h6.4229v-15.599h6.4229c0 2.1648 0.0767 22.106 6.3985 14.127 2.3674-2.988 0.94236-10.486 0.94236-14.127h6.4229v15.599c8.6209-0.28668 6.423-9.0411 6.423-15.599h6.4229c0 2.1648 0.077 22.106 6.3985 14.127 2.3674-2.988 0.94237-10.486 0.94237-14.127 8.423 0.64261 6.4229 9.1516 6.4229 15.599 8.6209-0.28668 6.423-9.0411 6.423-15.599h6.4229v15.599h6.423v-15.599h7.3408v15.599c7.8026-0.60793 5.5055-9.6604 5.5055-15.599 18.486 0 24.775-6.2886 24.775-24.775 5.9389 0 14.991 2.2972 15.599-5.5055-7.1356 0-15.298 1.9116-15.599-7.3408 6.6746 0 15.313 2.3064 15.599-6.423-7.1356 0-15.298 1.9116-15.599-7.3409h15.599c-0.28665-8.6209-9.0417-6.4229-15.599-6.4229v-5.5055l15.599-0.9176c-0.28655-8.7296-8.9244-6.4229-15.599-6.4229 0.30124-9.2518 8.4633-7.3409 15.599-7.3409v-5.5055h-15.599v-7.3408h15.599c-0.28655-8.7296-8.9244-6.423-15.599-6.423v-6.4229c6.6746 0 15.313 2.3064 15.599-6.423h-15.599v-6.4229c6.6746 0 15.313 2.3064 15.599-6.423h-15.599v-7.3408h15.599v-5.5055c-7.1356 0-15.298 1.9116-15.599-7.3409 3.6404 0 11.14 1.4249 14.127-0.94233 7.9784-6.3216-11.963-6.3985-14.127-6.3985 0.64246-8.423 9.1516-6.4229 15.599-6.4229-0.28655-8.7296-8.9244-6.4229-15.599-6.4229 0.64259-8.4231 9.1516-6.423 15.599-6.423v-6.4229h-15.599v-7.3409h15.599v-5.5055h-15.599v-6.4229c2.1647 0 22.106-0.0771 14.127-6.3985-2.988-2.3674-10.486-0.94235-14.127-0.94235v-6.4229c6.6746 0 15.313 2.3064 15.599-6.4229-6.4474 0-14.957 1.9998-15.599-6.4229 6.6746 0 15.313 2.3064 15.599-6.423-7.1356 0-15.298 1.9116-15.599-7.3409 2.9095 0 17.416 1.7644 14.991-4.3139-1.5217-3.8146-11.679-2.1092-14.991-2.1092 0-18.218-6.4413-24.775-24.775-24.775v-15.599c-7.8026 0.60791-5.5055 9.6604-5.5055 15.599h-7.3408c0-2.9095 1.7644-17.417-4.314-14.991-3.8146 1.5217-2.1092 11.679-2.1092 14.991h-6.4229c0-6.6746 2.3064-15.313-6.423-15.599v15.599h-6.4229c0-3.596 1.5526-12.144-1.5951-14.652-6.8474-5.4551-5.7455 12.046-5.7455 14.652h-6.4229c0-2.7971 1.6276-17.438-4.3366-14.991-3.7891 1.5539-2.0865 11.675-2.0865 14.991h-6.4229c0-2.1648-0.0769-22.106-6.3985-14.127-2.3672 2.9878-0.94232 10.486-0.94232 14.127h-6.423c0-3.3122 1.7055-13.47-2.1092-14.991-6.0784-2.4247-4.3139 12.082-4.3139 14.991h-6.423c0-6.6746 2.3064-15.313-6.4229-15.599v15.599h-7.3408c0-3.3122 1.7054-13.47-2.1092-14.991-6.0784-2.4247-4.314 12.082-4.314 14.991h-6.4229c0-3.3122 1.7054-13.47-2.1092-14.991-6.0784-2.4247-4.314 12.082-4.314 14.991h-6.423c0-6.5579 2.1978-15.313-6.4229-15.599v15.599h-6.4229c0-2.6541 1.038-19.691-5.8702-14.638-3.0623 2.2398-1.4705 11.253-1.4705 14.638h-7.3408c0-2.8517 1.6823-15.015-2.7528-15.015-4.435 0-2.7528 12.164-2.7528 15.015h-6.4229c0-3.596 1.5526-12.144-1.5951-14.652-6.8474-5.4551-5.7456 12.046-5.7456 14.652h-6.4229c0-6.5579 2.1978-15.313-6.4229-15.599v15.599h-6.4229c0-2.9095 1.7644-17.417-4.314-14.991-3.8145 1.5217-2.1092 11.679-2.1092 14.991h-7.3409c0-3.0107 1.7488-15.887-3.5606-15.172-4.6127 0.62178-2.8625 11.954-2.8625 15.172zm115.49 140.65c-0.5047-0.16836-2.0979-0.56777-3.5404-0.88755l-2.6228-0.58152 0.59477-18.539c0.32711-10.196 0.24693-21.508-0.17822-25.137-0.74355-6.3472-0.69577-6.6178 1.2546-7.1076 1.1152-0.27988 2.6841-0.76082 3.4867-1.0688 1.3039-0.50035 1.3956 0.62178 0.86184 10.548-0.43689 8.1256-0.31302 11.108 0.46131 11.108 0.58225 0 1.0586-0.65115 1.0586-1.4469 0-2.5955 5.1051-6.8114 8.2478-6.8114 4.3109 0 6.3961 1.5301 8.5488 6.2721 2.4632 5.4269 2.592 17.07 0.25032 22.631-3.4321 8.1513-11.877 13.202-18.424 11.019zm10.172-5.4807c4.149-2.7186 5.7466-18.431 2.5411-24.993-1.3399-2.7429-2.2945-3.5429-4.484-3.7574-4.767-0.46712-6.8914 2.8352-7.9564 12.366-1.0133 9.0729-0.45363 16.736 1.3083 17.913 1.481 0.98906 5.9661 0.19091 8.591-1.5288zm-117.88 0.7066c-1.8883-3.7766-1.394-6.5243-0.15968-11.108 1.6742-6.2177 6.8883-9.3593 15.534-9.3593h4.0267l-0.50923-3.7966c-0.28008-2.0882-1.1596-4.4469-1.9544-5.2418-1.8146-1.8146-7.6847-1.6732-11.454 0.27594-2.6304 1.3603-2.8228 1.3338-3.8176-0.52477-1.2429-2.3224-0.44211-3.0404 5.0996-4.5722 4.8229-1.3331 11.951-0.59052 14.243 1.484 2.8979 2.6227 3.6171 7.256 3.5247 22.71l-0.0863 14.44h-2.6434c-2.4006 0-2.6434-0.28997-2.6434-3.1574 0-1.7365-0.41291-3.4126-0.91763-3.7245-0.50466-0.31187-0.9176-0.0223-0.9176 0.64341 0 0.66581-1.049 2.3418-2.3311 3.7245-1.8556 2.0013-3.1491 2.514-6.3417 2.514-3.3078 0-7.1302-1.2651-8.6515-4.3074zm16.004-3.4837c1.866-2.4465 2.4732-4.3431 2.57-8.0292 0.12551-4.7725 0.095-4.8288-2.7622-5.1063-8.7803-0.85274-14.459 7.529-9.432 13.921 2.8094 3.5715 6.5323 3.2677 9.6237-0.78545zm15.825-11.249c-0.15507-10.471-0.28188-19.084-0.28188-19.137 0-0.0532 1.342-0.35304 2.9822-0.66526l2.9821-0.56767v4.565c0 2.5107 0.41292 4.565 0.9176 4.565s0.91761-0.67387 0.91761-1.4974c0-1.9538 6.0872-7.6786 8.1647-7.6786 1.2679 0 1.525 0.58604 1.2069 2.7527-0.31162 2.1233-0.87613 2.7528-2.4686 2.7528-2.5046 0-6.6917 3.9917-7.6096 7.2547-0.36828 1.3088-0.66959 7.8502-0.66959 14.536v12.157l-5.8594 2e-3zm20.822 1.8356c0-9.4631-0.33749-18.134-0.75001-19.269-0.62855-1.7302-0.43303-2.0646 1.2073-2.0646 1.0765 0 2.7561-0.42742 3.7322-0.94991 1.6209-0.86741 1.7749-0.62286 1.7749 2.8181v3.768l3.0906-3.2769c2.5321-2.6848 3.7466-3.2769 6.7222-3.2769 3.6404 0 7.6218 2.7869 7.6218 5.3352 0 1.6218 0.43336 1.3886 3.9456-2.1236 2.626-2.626 3.8976-3.2115 6.9738-3.2115 2.5387 0 4.3589 0.59679 5.5972 1.8351 1.6706 1.6706 1.8351 3.0586 1.8351 15.471 0 7.4996 0.26257 15.551 0.58351 17.893l0.58353 4.2572h-6.6727v-15.992c0-13.315-0.24141-16.234-1.4419-17.434-1.9467-1.9467-5.2323-1.8167-7.8618 0.31102-2.1237 1.7184-2.1662 2.0609-2.1662 17.432v15.68l-6.426 3e-3 2e-3 -15.5c1e-3 -13.955-0.17279-15.692-1.7465-17.434-2.3459-2.5957-5.2577-2.438-7.9558 0.43105-2.1392 2.2745-2.2357 2.9434-2.5157 17.434l-0.29153 15.069-5.8408 6e-4zm82.881 0.30382c0.191-10.716-0.0541-17.566-0.66972-18.717-0.82246-1.5368-0.63594-1.8983 1.2193-2.364 1.2046-0.30236 2.7448-0.76248 3.4225-1.0226 1.0077-0.38669 1.2322 3.1235 1.2322 19.266v19.738l-5.5055 2e-3zm14.811 14.577c-1.7094-1.8194-2.2525-3.5614-2.5037-8.0292-0.54565-9.7043 4.215-14.423 14.551-14.423h4.7382l-0.50926-3.7966c-0.28005-2.0882-1.121-4.4084-1.8688-5.1561-1.7466-1.7467-7.9351-1.6737-11.432 0.13455-2.573 1.3306-2.7362 1.2959-3.6827-0.78154-0.91377-2.0055-0.70904-2.2864 2.6434-3.6278 1.9987-0.79967 5.8901-1.454 8.6478-1.454 4.2417 0 5.475 0.41197 8.0102 2.6755l2.9967 2.6755 0.57231 34.105h-2.8094c-2.689 0-2.8108-0.16727-2.8386-3.8998-0.0274-3.6777-0.1081-3.7952-1.4133-2.0646-4.0451 5.3633-4.9463 5.9643-8.944 5.9643-3.0674 0-4.4738-0.53067-6.1579-2.3236zm13.196-5.0214c2.3332-2.7729 4.0332-9.7349 3.0212-12.372-0.63441-1.6533-4.6117-1.8095-8.8103-0.34588-2.0256 0.70616-3.4 2.0268-4.266 4.0997-1.6716 4.0006-1.6165 4.8438 0.54742 8.3931 2.4465 4.0125 6.2452 4.1023 9.5083 0.22503zm15.736-11.457v-18.8l2.6603-0.92693c1.4632-0.50983 2.8052-0.92696 2.9822-0.92696 0.17698 0 0.32187 1.5258 0.32187 3.3908v3.3908l3.1059-3.3908c2.7107-2.9595 3.6381-3.3908 7.2896-3.3908 3.0984 0 4.8507 0.57382 6.7552 2.2122l2.5719 2.2122 0.66196 35.032h-6.2312l0.34952-14.452c0.21707-8.9794-0.0238-15.413-0.63719-16.992-1.9642-5.0566-8.4585-5.0929-11.753-0.0657-1.4169 2.162-1.6537 4.5983-1.6537 17.016v14.492l-6.423-3.2e-4zm-44.044-27.078c-0.94906-2.9902 0.32893-5.5055 2.7971-5.5055 1.6001 0 2.3753 0.63983 2.7934 2.3059 1.0568 4.2109-4.297 7.2749-5.5905 3.1996z" style="fill:none;stroke:#ff0000"/> | ||
</g> | ||
</svg> | ||
|
||
*** | ||
# Installation: | ||
Development version: | ||
~~~ | ||
git clone https://github.com/armbian/configng.git | ||
cd configng | ||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/armbian/build/main/.github/armbian-logo.png" alt="Armbian logo" width="144"> | ||
<br> | ||
Armbian ConfigNG | ||
<br> | ||
<a href="https://www.codefactor.io/repository/github/tearran/configng"><img src="https://www.codefactor.io/repository/github/tearran/configng/badge" alt="CodeFactor" /></a> | ||
</p> | ||
|
||
# User guide | ||
## Quick start | ||
Run the following commands: | ||
|
||
echo "deb [signed-by=/usr/share/keyrings/armbian.gpg] https://armbian.github.io/configng stable main" \ | ||
| sudo tee /etc/apt/sources.list.d/armbian-development.list > /dev/null | ||
|
||
armbian-configng --dev | ||
|
||
If all goes well you should see the Text-Based User Inerface (TUI) | ||
|
||
### To see a list of all functions and their descriptions, run the following command: | ||
~~~ | ||
|
||
# Systme administrators | ||
To Configure and change global sytem settings, run the following command: | ||
~~~ | ||
sudo ./armbian-configng | ||
armbian-configng -h | ||
~~~ | ||
|
||
# Start as non-root user | ||
To use the utility as a user, run the following command: | ||
## Coding Style | ||
follow the following coding style: | ||
~~~ | ||
./armbian-configng | ||
# @description A short description of the function. | ||
# | ||
# @exitcode 0 If successful. | ||
# | ||
# @options A description if there are options. | ||
function group::string() {s | ||
echo "hello world" | ||
return 0 | ||
} | ||
~~~ | ||
## Codestyle can be used to auto generate | ||
- [Markdown](share/armbian-configng/readme.md) | ||
- [JSON](share/armbian-configng/data/armbian-configng.json) | ||
- [CSV](share/armbian-configng/data/armbian-configng.csv) | ||
- [HTML](share/armbian-configng/armbian-configng-table.html) | ||
- [github.io](//tearran/github.io/armbian-configng/index.html) | ||
## Functions list as of 2023-12-06 | ||
## network | ||
System and Security | ||
|
||
*** | ||
|
||
Following was Generated on: | ||
Wed Apr 3 12:11:35 PM MST 2024. | ||
|
||
*** | ||
|
||
# Armbian-configng Menu table | ||
|
||
|
||
|
||
## Development | ||
|
||
Prosedures Testing grounds (WIP) | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| T00 | Check Colors (beta) | Tearran | X | [Document](https://github.com/armbian/configng/wiki/Interface) | Ref or doc Needed | | ||
| T01 | Chack if apt up to date (beta) | Tearran | X | X | Ref or doc Needed | | ||
| T02 | Example Yes/NO, OK message box (stable) | Tearran | X | [Document](https://github.com/armbian/configng/wiki/Interface) | Ref or doc Needed | | ||
| T03 | Remove kernel headers | | X | X | Ref or doc Needed | | ||
| T04 | Install kernel headers | | X | X | Ref or doc Needed | | ||
|
||
|
||
## System | ||
|
||
System wide and admin settings | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| S01 | Enable Armbina kernal upgrades | | X | X | Ref or doc Needed | | ||
| S02 | Disable Armbina kernal upgrades | | X | X | Ref or doc Needed | | ||
| S03 | Edit the boot enviroment (WIP) | | X | X | Ref or doc Needed | | ||
|
||
|
||
## Network | ||
|
||
Wireless, Ethernet, and Network settings | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| N00 | Manage wifi network connections | | X | X | Ref or doc Needed | | ||
| BT0 | Install Bluetooth support | | X | X | Ref or doc Needed | | ||
| BT1 | Remove Bluetooth support | | X | X | Ref or doc Needed | | ||
| BT3 | Bluetooth Discover | | X | X | Ref or doc Needed | | ||
| IR1 | Remove Infrared support | | [Reference](./README.md#L#30) | X | Ref or doc Needed | | ||
| IR0 | Install Infrared support | | X | X | Ref or doc Needed | | ||
| N05 | Advanced Edit /etc/network/interface | | X | X | Ref or doc Needed | | ||
| N06 | Disconect and forget all wifi connections (Advanced) | | X | X | Ref or doc Needed | | ||
|
||
|
||
## Localisation | ||
|
||
Localisation | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| L00 | Change Globla timezone (WIP) | | X | X | Ref or doc Needed | | ||
| L01 | Change Locales reconfigure the language environment | | X | X | Ref or doc Needed | | ||
| L02 | Change Keyboard layout | | X | X | Ref or doc Needed | | ||
| L03 | Change APT mirrors | | X | X | Ref or doc Needed | | ||
|
||
|
||
## Software | ||
|
||
Run/Install 3rd party apllications | ||
### set_wifi.sh | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| I00 | Update Application Repository | | X | X | Ref or doc Needed | | ||
| I01 | CLI System Monitor | | X | X | Ref or doc Needed | | ||
- **Group Name:** network | ||
- **Action Name:** NMTUI | ||
- **Options:** none. | ||
- **Description:** Network Manager. | ||
|
||
## system | ||
Network Wired wireless Bluetooth access point | ||
|
||
## Downloads | ||
### armbian_install.sh | ||
|
||
Run/Download 3rd party apllications | ||
- **Group Name:** system | ||
- **Action Name:** Install | ||
- **Options:** none | ||
- **Description:** Armbian installer. | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| D00 | CLI System Monitor | | X | X | Ref or doc Needed | | ||
### hello_world.sh | ||
|
||
- **Group Name:** system | ||
- **Action Name:** Hello | ||
- **Options:** none | ||
- **Description:** Hello System. | ||
|
||
## Help | ||
### see_monitor.sh | ||
|
||
About this app | ||
- **Group Name:** monitor | ||
- **Action Name:** Benchmarking | ||
- **Options:** | ||
- **Description:** Armbian Monitor and Benchmarking. | ||
|
||
| Job ID | Description | Contributor | Reference | Documents | Status | | ||
|:------ | ----------- | ----------- | --------- | --------- | ------:| | ||
| H00 | About This systme. (WIP) | | X | X | Ref or doc Needed | | ||
| H02 | List of Config function(WIP) | | X | X | Ref or doc Needed | | ||
|
||
*** | ||
## Note: | ||
> | ||
> The Bash procedures embedded within the JSON structure are meticulously designed with a focus on clear naming conventions and the simplicity of key pairs, with an emphasis on ease of translation or interpretation for compatibility with different naming conventions, particularly for language files. These procedures serve multiple purposes, including facilitating the generation of content in various formats, such as Whiptail, YAML, Markdown, and others. Moreover, they are utilized for evaluation and execution of commands outlined in the JSON structure. | ||
> | ||
> By adhering to consistent naming conventions and emphasizing the simplicity of key pairs, the application aims to streamline the output generation process. This approach attemps to enhances the versatility and usability of the application, accommodating different preferences for data formats and enabling direct execution of specified commands. | ||
# Included projects | ||
- [Bash Utility](https://labbots.github.io/bash-utility) | ||
- [Armbian config](https://github.com/armbian/config.git) | ||
|