diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/toaster | 17 |
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 | |||
143 | fi | 143 | fi |
144 | 144 | ||
145 | if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/.toastermain.pid ] ); then | 145 | if [ ${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 |
148 | elif [ ${CMD} == "stop" ] && ( [ $lock -eq 1 ] || ! [ -e $BUILDDIR/.toastermain.pid ] ) ; then | ||
149 | echo "Error: bitbake lock state error. Trying to stop a stopped system ? | ||
150 | If 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 | |||
154 | and | ||
155 | |||
156 | # webserverKillAll | ||
157 | " 2>&1 | ||
158 | return 3 | 148 | return 3 |
159 | fi | 149 | fi |
160 | 150 | ||
161 | 151 | ||
162 | |||
163 | |||
164 | |||
165 | # Execute the commands | 152 | # Execute the commands |
166 | 153 | ||
167 | case $CMD in | 154 | case $CMD in |