1
0

fix: make log viewer optional and document runtime dependencies

This commit is contained in:
2026-04-26 00:08:02 +02:00
parent 2ed34b97be
commit f3c649341a
4 changed files with 57 additions and 11 deletions
+10 -2
View File
@@ -27,12 +27,19 @@ Supported actions:
## Requirements
Required:
- `bash`
- `ssh`
- `whiptail`
- `nano`
- `sed`
- `tee`
- core utilities such as `rm` and `touch`
Optional log viewer:
- `$EDITOR` if it points to an installed command
- otherwise one of: `nano`, `vi`, `less`
## Install
@@ -101,5 +108,6 @@ Options:
- SSH connections currently use `root@host`
- The tool is interactive and intended for manual administration workflows
- After execution, the log file is opened in `nano`
- After execution, the log file is opened with `$EDITOR` when available, otherwise with `nano`, `vi`, or `less`
- If no supported log viewer is available, the script keeps running and prints the log file path
- The configuration file is sourced as shell code, so only use trusted config files