As toaster modes are merged we don't need to use
this variable anymore.

Signed-off-by: Ed Bartosh <[email protected]>
---
 bin/toaster | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bin/toaster b/bin/toaster
index 7084e0ff..064602b 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -67,10 +67,8 @@ webserverStartAll()
         retval=0
         python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=1
     fi
-    if [ "$TOASTER_MANAGED" = '1' ]; then
-        python $BBBASEDIR/lib/toaster/manage.py migrate bldcontrol || retval=1
-        python $BBBASEDIR/lib/toaster/manage.py checksettings  --traceback || 
retval=1
-    fi
+    python $BBBASEDIR/lib/toaster/manage.py migrate bldcontrol || retval=1
+    python $BBBASEDIR/lib/toaster/manage.py checksettings  --traceback || 
retval=1
     if [ $retval -eq 0 ]; then
         echo "Starting webserver..."
         python $BBBASEDIR/lib/toaster/manage.py runserver "0.0.0.0:$WEB_PORT" 
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 & echo $! 
>${BUILDDIR}/.toastermain.pid
-- 
2.1.4

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to