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 dea69a4652..f81e6672fb 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -146,11 +146,15 @@ else
146fi 146fi
147 147
148NOTOASTERUI=0 148NOTOASTERUI=0
149WEBSERVER=1
149for param in $*; do 150for param in $*; do
150 case $param in 151 case $param in
151 noui ) 152 noui )
152 NOTOASTERUI=1 153 NOTOASTERUI=1
153 ;; 154 ;;
155 noweb )
156 WEBSERVER=0
157 ;;
154 esac 158 esac
155done 159done
156 160
@@ -176,7 +180,7 @@ case $CMD in
176 start ) 180 start )
177 start_success=1 181 start_success=1
178 addtoConfiguration "INHERIT+=\"toaster buildhistory\"" toaster.conf 182 addtoConfiguration "INHERIT+=\"toaster buildhistory\"" toaster.conf
179 if ! webserverStartAll; then 183 if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
180 echo "Failed ${CMD}." 184 echo "Failed ${CMD}."
181 return 4 185 return 4
182 fi 186 fi