Update help_info_menu.sh

This commit is contained in:
MacRimi 2025-04-16 14:05:59 +02:00 committed by GitHub
parent e34f31f371
commit 2d04f38134
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,6 @@ show_system_commands() {
echo -e " 4) ${GREEN}systemctl restart pveproxy${NC} - $(translate 'Restart Web UI proxy')" echo -e " 4) ${GREEN}systemctl restart pveproxy${NC} - $(translate 'Restart Web UI proxy')"
echo -e " 5) ${GREEN}journalctl -xe${NC} - $(translate 'System errors and logs')" echo -e " 5) ${GREEN}journalctl -xe${NC} - $(translate 'System errors and logs')"
echo -e " 6) ${GREEN}uptime${NC} - $(translate 'System uptime')" echo -e " 6) ${GREEN}uptime${NC} - $(translate 'System uptime')"
echo -e " 7) ${GREEN}htop${NC} - $(translate 'Real-time system monitor')"
echo -e " 0) $(translate 'Back to previous menu')" echo -e " 0) $(translate 'Back to previous menu')"
echo echo
echo -en "${TAB}${BOLD}${YW}${HOLD}$(translate 'Enter number or paste a command: ') ${CL}" echo -en "${TAB}${BOLD}${YW}${HOLD}$(translate 'Enter number or paste a command: ') ${CL}"
@ -92,14 +91,14 @@ show_vm_ct_commands() {
echo "---------------------------------------------------" echo "---------------------------------------------------"
echo -e " 1) ${GREEN}qm list${NC} - $(translate 'List all virtual machines')" echo -e " 1) ${GREEN}qm list${NC} - $(translate 'List all virtual machines')"
echo -e " 2) ${GREEN}pct list${NC} - $(translate 'List all LXC containers')" echo -e " 2) ${GREEN}pct list${NC} - $(translate 'List all LXC containers')"
echo -e " 3) ${GREEN}qm start <vmid>${NC} - $(translate 'Start a virtual machine')" echo -e " 3) ${GREEN}qm start <vmid>${NC} - $(translate 'Start a virtual machine. Replace <vmid> with the correct ID')"
echo -e " 4) ${GREEN}pct start <ctid>${NC} - $(translate 'Start a container')" echo -e " 4) ${GREEN}pct start <ctid>${NC} - $(translate 'Start a container. Replace <ctid> with the correct ID')"
echo -e " 5) ${GREEN}qm stop <vmid>${NC} - $(translate 'Force stop a virtual machine')" echo -e " 5) ${GREEN}qm stop <vmid>${NC} - $(translate 'Force stop a virtual machine. Replace <vmid> with the correct ID')"
echo -e " 6) ${GREEN}pct stop <ctid>${NC} - $(translate 'Force stop a container')" echo -e " 6) ${GREEN}pct stop <ctid>${NC} - $(translate 'Force stop a container. Replace <ctid> with the correct ID')"
echo -e " 7) ${GREEN}qm config <vmid>${NC} - $(translate 'Show VM configuration')" echo -e " 7) ${GREEN}qm config <vmid>${NC} - $(translate 'Show VM configuration. Replace <vmid> with the correct ID')"
echo -e " 8) ${GREEN}pct config <ctid>${NC} - $(translate 'Show container configuration')" echo -e " 8) ${GREEN}pct config <ctid>${NC} - $(translate 'Show container configuration. Replace <ctid> with the correct ID')"
echo -e " 9) ${GREEN}qm destroy <vmid>${NC} - $(translate 'Delete a VM (irreversible)')" echo -e " 9) ${GREEN}qm destroy <vmid>${NC} - $(translate 'Delete a VM (irreversible). Replace <vmid> with the correct ID')"
echo -e " 10) ${GREEN}pct destroy <ctid>${NC} - $(translate 'Delete a CT (irreversible)')" echo -e " 10) ${GREEN}pct destroy <ctid>${NC} - $(translate 'Delete a CT (irreversible). Replace <vmid> with the correct ID')"
echo -e " 0) $(translate 'Back to previous menu')" echo -e " 0) $(translate 'Back to previous menu')"
echo echo
echo -en "${TAB}${BOLD}${YW}${HOLD}$(translate 'Enter number or paste a command: ') ${CL}" echo -en "${TAB}${BOLD}${YW}${HOLD}$(translate 'Enter number or paste a command: ') ${CL}"