From cc3c459b5ddecc7d29ea3f1da917239bc3dc791a Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Tue, 18 Oct 2016 17:53:18 +0100
Subject: [PATCH] Detect apps before showing about

---
 src/freedombone-controlpanel | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel
index acf0fd74a..ccc4c78e3 100755
--- a/src/freedombone-controlpanel
+++ b/src/freedombone-controlpanel
@@ -215,13 +215,6 @@ function pad_string {
 }
 
 function show_domains {
-    clear
-    echo ''
-    echo $'  Detecting installed apps...'
-    detect_apps
-    get_apps_installed_names
-    clear
-
     read_config_param "DEFAULT_DOMAIN_NAME"
 
     echo 'Domains'
@@ -380,6 +373,12 @@ function show_ip_addresses {
 }
 
 function show_about {
+    clear
+    echo ''
+    echo $'  Detecting installed apps...'
+    detect_apps
+    get_apps_installed_names
+
     clear
     show_ip_addresses
     show_domains
-- 
GitLab