diff options
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-x | bitbake/bin/toaster | 6 |
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 | |||
146 | fi | 146 | fi |
147 | 147 | ||
148 | NOTOASTERUI=0 | 148 | NOTOASTERUI=0 |
149 | WEBSERVER=1 | ||
149 | for param in $*; do | 150 | for 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 |
155 | done | 159 | done |
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 |