Skip to content

Commit b9140a7

Browse files
committed
Ask only for enter to continue
Signed-off-by: Daniil Klimuk <[email protected]>
1 parent 3f5a23b commit b9140a7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

include/dts-functions.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ main_menu_options(){
13841384
export DEPLOY_REPORT="false"
13851385
${CMD_DASHARO_HCL_REPORT}
13861386
fi
1387-
read -p "Press any key to continue."
1387+
read -p "Press enter to continue."
13881388

13891389
return 0
13901390
;;
@@ -1439,7 +1439,7 @@ main_menu_options(){
14391439
# Use regular update process for everything else
14401440
${CMD_DASHARO_DEPLOY} update
14411441
fi
1442-
read -p "Press any key to continue."
1442+
read -p "Press enter to continue."
14431443

14441444
return 0
14451445
;;
@@ -1451,7 +1451,7 @@ main_menu_options(){
14511451
if check_if_dasharo; then
14521452
${CMD_DASHARO_DEPLOY} restore
14531453
fi
1454-
read -p "Press any key to continue."
1454+
read -p "Press enter to continue."
14551455

14561456
return 0
14571457
;;
@@ -1477,7 +1477,7 @@ main_menu_options(){
14771477
# Parse installed packages for premium submenus:
14781478
parse_for_premium_submenu
14791479

1480-
read -p "Press any key to continue."
1480+
read -p "Press enter to continue."
14811481
return 0
14821482
;;
14831483
"${DPP_SUBMENU_OPT}")
@@ -1530,7 +1530,7 @@ footer_options(){
15301530
systemctl start sshd.service
15311531
print_ok "Listening on IPs: $(ip -br -f inet a show scope global | grep UP | awk '{ print $3 }' | tr '\n' ' ')"
15321532
fi
1533-
read -p "Press any key to continue."
1533+
read -p "Press enter to continue."
15341534

15351535
return 0
15361536
;;

include/dts-subscription.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ check_for_dasharo_firmware() {
6969
print_warning "have access to Dasharo Firmware. If so, consider getting Dasharo"
7070
print_warning "Subscription and improving security of your platform!"
7171

72-
read -p "Press any key to continue"
72+
read -p "Press enter to continue"
7373
return 1
7474
}
7575

scripts/dasharo-deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ update_workflow() {
10451045
print_warning "This is expected. Run OEM Factory Reset / Re-Ownership to finish deploying Heads."
10461046
;;
10471047
esac
1048-
read -p "Press any key to continue" # Make sure the user acknowledges.
1048+
read -p "Press enter to continue" # Make sure the user acknowledges.
10491049
else
10501050
# Regular update flow
10511051
print_ok "Successfully updated Dasharo firmware."

0 commit comments

Comments
 (0)