Commit Graph

54 Commits

Author SHA1 Message Date
Dimitry Ishenko
0ff69d3b62 armbian-config: "exit 1" => die 2025-02-04 18:23:50 +01:00
Dimitry Ishenko
b57251e084 Fix sanitize function 2025-02-04 18:23:50 +01:00
Dimitry Ishenko
36a5b899fb Fix program flow
This makes all `exit 0` statements unnecessary and simplifies control
flow.
2025-02-04 18:23:50 +01:00
Dimitry Ishenko
3f0312fcdd Remove dead code
This part will never be executed as line 27 already checks for non-root
user and relaunches armbian-config with sudo.
2025-02-04 18:23:50 +01:00
Igor Pecovnik
6167d54fd3 Switch unit test to dedicated Armbian VM images 2025-01-19 22:21:06 +01:00
Joey Turner
4eba919d6d Adding a warning to welcome screen (#276)
* added warning for unsuported os

* fixed distro runtime varible

* update warning

* fix style

* fix style

* replaced CHECK_OS with DISTRO_STATUS, fixed DISTROID, DISTRO, cleand up.

* reverted DISTRO var as is unrelated to this

* add armbian checks

* revert

* Improve text style / wording

* add redirect

---------

Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-12-09 13:09:39 +01:00
Dimitry Ishenko
34b947a89d fix typo: catagory => category 2024-11-12 22:58:06 -07:00
Tearran
2f6fb28bc6 fix uncought case style 2024-10-28 09:22:14 -05:00
Tearran
c40aedf727 add message to use config-assemble.sh if lib is not present 2024-10-28 09:22:14 -05:00
Tearran
2c1b2c9a91 remove ng from source files, armbina-config 2024-10-28 09:22:14 -05:00
Tearran
d683d9dc2a Migrated all helpers and json to./lib/armbian-config 2024-10-28 09:22:14 -05:00
Tearran
dd8af8d2c2 more migrating 2024-10-28 09:22:14 -05:00
Tearran
358d51e135 migrate doc runtime network 2024-10-28 09:22:14 -05:00
Tearran
12223567f0 migrated and move network related to network 2024-10-28 09:22:14 -05:00
Tearran
6077934c4c Migrated system 2024-10-28 09:22:14 -05:00
Tearran
ceb9a32ea2 moved more 2024-10-28 09:22:14 -05:00
Tearran
4196a55e88 migrating funtions 2024-10-28 09:22:14 -05:00
Igor Pecovnik
b383c31f29 Add contribute information to the About app and show it on the exit 2024-10-21 11:16:03 +02:00
Igor Pecovnik
c9dfc58979 Change to armbian-config also in Unit test CI 2024-10-14 10:29:55 +02:00
Igor Pecovnik
0eff8dd78d Rename armbian-configng binary 2024-10-14 10:17:29 +02:00
Joey Turner
9be0d0599a Simplify sudo check require it always.
Check for sudo and prompt If NOT
>Note: Will need sudo privileges to run help messages.
Caveat:

- Breaks in serve_doc can be removed not used or moved to tools for future use.
2024-10-13 22:54:49 +02:00
Igor Pecovnik
5cce2bd3c6 Apply shfmt -w 2024-09-24 13:09:25 +02:00
Surepic
f2af3a5c63 Update armbian-configng (#72)
replaced cat with input redirection ... no need for creating subshell and adding overhead
2024-09-13 20:43:36 -05:00
Joey Turner
e41c5943d9 Help docs (#68)
* chore: Update help message in armbian-configng script

* chore: Update help message

* fix: typo

* Added: Option to list all cmd options help `--help cmd`

* feat: Add help support for API, armbian-configng --help api

---------

Co-authored-by: Tearran <tearran@armbian.com>
2024-09-12 08:41:14 -05:00
Joey Turner
d6a8d0d100 Add: Promt section for menu and bypass for --cmd option (#65)
* Add: Promt changed --cli to --cmd

* fix: --help

---------

Co-authored-by: Tearran <tearran@armbian.com>
2024-09-10 13:29:01 -05:00