summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/toaster
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-xbitbake/bin/toaster6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 18eba8ea07..93abcfad3b 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -53,7 +53,11 @@ function webserverStartAll()
53 fi 53 fi
54 54
55 retval=0 55 retval=0
56 python $BBBASEDIR/lib/toaster/manage.py syncdb || retval=1 56 if [ "$TOASTER_MANAGED" '==' '1' ]; then
57 python $BBBASEDIR/lib/toaster/manage.py syncdb || retval=1
58 else
59 python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1
60 fi
57 python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 61 python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2
58 if [ $retval -eq 1 ]; then 62 if [ $retval -eq 1 ]; then
59 echo "Failed db sync, stopping system start" 1>&2 63 echo "Failed db sync, stopping system start" 1>&2