summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/toaster6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/toaster b/bin/toaster
index dea69a465..f81e6672f 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -146,11 +146,15 @@ else
fi
NOTOASTERUI=0
+WEBSERVER=1
for param in $*; do
case $param in
noui )
NOTOASTERUI=1
;;
+ noweb )
+ WEBSERVER=0
+ ;;
esac
done
@@ -176,7 +180,7 @@ case $CMD in
start )
start_success=1
addtoConfiguration "INHERIT+=\"toaster buildhistory\"" toaster.conf
- if ! webserverStartAll; then
+ if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."
return 4
fi