From e85e2e48c60090a2fb4a9b668000375ed0911e01 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sun, 16 Jun 2024 13:08:05 +0200 Subject: [PATCH] Address rewording of prompt --- pve-mod-gui-sensors.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index a60ca74..ce17217 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -109,16 +109,16 @@ function configure { if (echo "$sensorsOutput" | grep -q "coretemp-"); then # Intel CPU # Prompt user for which temperature to use - read -p "Do you wish to display all cores [Y] or package temp (averge, single temperature)[n]? (Y/n): " choice + read -p "Do you wish to display temperatures for all cores [C] or just an average value(s) per CPU [a]? (C/a): " choice case "$choice" in # Set temperature search criteria - [yY]|"") + [cC]|"") if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Core "); then CPU_ITEM_PREFIX="Core " CPU_TEMP_CAPTION="Core" fi ;; - [nN] ) + [aA] ) if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Package id "); then CPU_ITEM_PREFIX="Package id" CPU_TEMP_CAPTION="Package"