Include Raspberry Pi model as backtitle

Fixes #56
This commit is contained in:
Serge Schneider 2017-07-11 12:21:15 +01:00
parent e1e3b3cf0f
commit bb605a2dd9
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20170712) UNRELEASED; urgency=medium
* Add pi model as backtitle
-- Serge Schneider <serge@raspberrypi.org> Tue, 11 Jul 2017 12:20:26 +0100
raspi-config (20170711) stretch; urgency=medium
* Fix wait for network option

View File

@ -1623,7 +1623,7 @@ if [ "$INTERACTIVE" = True ]; then
calc_wt_size
while true; do
if is_pi ; then
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Setup Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Finish --ok-button Select \
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --backtitle "$(cat /proc/device-tree/model)" --menu "Setup Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Finish --ok-button Select \
"1 Change User Password" "Change password for the default user (pi)" \
"2 Hostname" "Set the visible name for this Pi on a network" \
"3 Boot Options" "Configure options for start-up" \