Changed invalid WEBTHEME value's fallback theme to default-light, to stay inline with pi-hole's default.
Signed-off-by: Alexandre Ratte <alexandre.ratte@gmail.com>
This commit is contained in:
parent
504f3bac3b
commit
995ec08608
4
start.sh
4
start.sh
|
@ -147,8 +147,8 @@ if [ -n "${WEBTHEME}" ]; then
|
|||
change_setting "WEBTHEME" "${WEBTHEME}"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid theme name supplied: ${WEBTHEME}, defaulting to default-dark."
|
||||
change_setting "WEBTHEME" "default-dark"
|
||||
echo "Invalid theme name supplied: ${WEBTHEME}, falling back to default-light."
|
||||
change_setting "WEBTHEME" "default-light"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue