[Toaster] [PATCH 09/20] toaster: get rid of TOASTER_MANAGED variable
Ed Bartosh
ed.bartosh at linux.intel.com
Sun Oct 11 14:15:46 PDT 2015
As toaster modes are merged we don't need to use
this variable anymore.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
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
More information about the toaster
mailing list