From bb605a2dd9d02de397cf7914dcfeb403f3240924 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 11 Jul 2017 12:21:15 +0100 Subject: [PATCH] Include Raspberry Pi model as backtitle Fixes #56 --- debian/changelog | 6 ++++++ raspi-config | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 13663cc..8f84a4d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +raspi-config (20170712) UNRELEASED; urgency=medium + + * Add pi model as backtitle + + -- Serge Schneider Tue, 11 Jul 2017 12:20:26 +0100 + raspi-config (20170711) stretch; urgency=medium * Fix wait for network option diff --git a/raspi-config b/raspi-config index e90a9b0..4d9ba60 100755 --- a/raspi-config +++ b/raspi-config @@ -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" \