summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster17
1 files changed, 2 insertions, 15 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 38e71acc2b..9c0a15ff67 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -143,25 +143,12 @@ if [ -e $BUILDDIR/bitbake.lock ]; then
143fi 143fi
144 144
145if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/.toastermain.pid ] ); then 145if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/.toastermain.pid ] ); then
146 echo "Error: bitbake lock state error. System is already on." 2>&1 146 echo "Error: bitbake lock state error. File locks show that the system is on." 2>&1
147 return 3 147 echo "If you see problems, stop and then start the system again." 2>&1
148elif [ ${CMD} == "stop" ] && ( [ $lock -eq 1 ] || ! [ -e $BUILDDIR/.toastermain.pid ] ) ; then
149 echo "Error: bitbake lock state error. Trying to stop a stopped system ?
150If you think the system is hanged up, you can try to manually stop system with the commands
151
152# BBSERVER=localhost:8200 bitbake -m
153
154and
155
156# webserverKillAll
157" 2>&1
158 return 3 148 return 3
159fi 149fi
160 150
161 151
162
163
164
165# Execute the commands 152# Execute the commands
166 153
167case $CMD in 154case $CMD in