[bitbake-devel] [PATCH 81/94] bitbake: webhob: better help message in startup script

Alex DAMIAN alexandru.damian at intel.com
Tue Sep 24 16:52:50 UTC 2013


From: Alexandru DAMIAN <alexandru.damian at intel.com>

Improved the error during stop message in the
startup script as the previous message was confusing
to the users.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 bitbake/bin/webhob | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bitbake/bin/webhob b/bitbake/bin/webhob
index 0c4d9ea..7bc9759 100755
--- a/bitbake/bin/webhob
+++ b/bitbake/bin/webhob
@@ -104,7 +104,14 @@ if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/whbmain.pid ] );
     return 3
 elif [ ${CMD} == "stop" ] && ( [ $lock -eq 1 ] || ! [ -e $BUILDDIR/whbmain.pid ] ) ; then
     echo "Error: bitbake lock state error. Trying to stop a stopped system ?
-manually stop system with bitbake -m / webserverKill" 2>&1
+If you think the system is hanged up, you can try to manually stop system with the commands
+
+# BBSERVER=localhost:8200 bitbake -m
+
+and
+
+# webserverKillAll
+" 2>&1
     return 3
 fi
 
-- 
1.8.1.2




More information about the bitbake-devel mailing list