From d71c493f3851fbaef6f5918b1141539c7cae6283 Mon Sep 17 00:00:00 2001
From: Martin Pietsch <martin.pietsch@tu-dresden.de>
Date: Tue, 3 Dec 2019 12:22:20 +0100
Subject: [PATCH] bugfix: debug mode is not running

---
 files/startup | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/files/startup b/files/startup
index 92db923..f538d20 100644
--- a/files/startup
+++ b/files/startup
@@ -11,12 +11,11 @@ getAnswerfile ${ANSWERFILE_PATH} /tmp/answerfile
 if [ $? -eq 0 ];
 then
   finishLogEntry "done"
-  if [ "x${DEBUG}" = "yes" ]; then
+  if [ "x${DEBUG}" = "xyes" ]; then
     /opt/dbgmode
   else     
     /opt/installer.sh 
-    #reboot
-   /bin/sh
+    reboot
   fi
 else
   finishLogEntry "failed"
-- 
GitLab