mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
move overclock from advanced menu to main menu
This commit is contained in:
parent
4673a0b824
commit
bcb12a3ddf
20
raspi-config
20
raspi-config
@ -548,9 +548,8 @@ do_advanced_menu() {
|
||||
"A1 Overscan" "You may need to configure overscan if black bars are present on display" \
|
||||
"A2 Hostname" "Set the visible name for this Pi on a network" \
|
||||
"A3 Memory Split" "Change the amount of memory made available to the GPU" \
|
||||
"A4 Overclock" "Configure overclocking for your Pi" \
|
||||
"A5 SSH" "Enable/Disable remote command line access to your Pi using SSH" \
|
||||
"A6 Update" "Update this tool to the latest version" \
|
||||
"A4 SSH" "Enable/Disable remote command line access to your Pi using SSH" \
|
||||
"A5 Update" "Update this tool to the latest version" \
|
||||
3>&1 1>&2 2>&3)
|
||||
RET=$?
|
||||
if [ $RET -eq 1 ]; then
|
||||
@ -560,9 +559,8 @@ do_advanced_menu() {
|
||||
A1\ *) do_overscan ;;
|
||||
A2\ *) do_change_hostname ;;
|
||||
A3\ *) do_memory_split ;;
|
||||
A4\ *) do_overclock ;;
|
||||
A5\ *) do_ssh ;;
|
||||
A6\ *) do_update ;;
|
||||
A4\ *) do_ssh ;;
|
||||
A5\ *) do_update ;;
|
||||
*) whiptail --msgbox "Programmer error: unrecognized option" 20 60 1 ;;
|
||||
esac || whiptail --msgbox "There was an error running option $FUN" 20 60 1
|
||||
fi
|
||||
@ -581,8 +579,9 @@ while true; do
|
||||
"4 Internationalisation Options" "Set up language and regional settings to match your location" \
|
||||
"5 Enable Camera" "Enable this Pi to work with the Raspberry Pi Camera" \
|
||||
"6 Add to Rastrack" "Add this Pi to the online Raspberry Pi Map (Rastrack)" \
|
||||
"7 Advanced Options" "Configure advanced settings" \
|
||||
"8 About raspi-config" "Information about this configuration tool" \
|
||||
"7 Overclock" "Configure overclocking for your Pi" \
|
||||
"8 Advanced Options" "Configure advanced settings" \
|
||||
"9 About raspi-config" "Information about this configuration tool" \
|
||||
3>&1 1>&2 2>&3)
|
||||
RET=$?
|
||||
if [ $RET -eq 1 ]; then
|
||||
@ -595,8 +594,9 @@ while true; do
|
||||
4\ *) do_internationalisation_menu ;;
|
||||
5\ *) do_camera ;;
|
||||
6\ *) do_rastrack ;;
|
||||
7\ *) do_advanced_menu ;;
|
||||
8\ *) do_about ;;
|
||||
7\ *) do_overclock ;;
|
||||
8\ *) do_advanced_menu ;;
|
||||
9\ *) do_about ;;
|
||||
*) whiptail --msgbox "Programmer error: unrecognized option" 20 60 1 ;;
|
||||
esac || whiptail --msgbox "There was an error running option $FUN" 20 60 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user