Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deactivate kioskmode installation option on armv6 devices #2217

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions installation/routines/customize_options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,25 +208,39 @@ Would you like to install the Web App? [Y/n]"
}

_option_kiosk_mode() {
# ENABLE_KIOSK_MODE
clear_c
print_c "----------------------- KIOSK MODE ----------------------
# ENABLE_KIOSK_MODE
clear_c
print_c "----------------------- KIOSK MODE ----------------------"
if [[ $(get_architecture) == "armv6" ]]; then

print_c "
Due to limited resources the kiosk mode is not supported
on Raspberry Pi 1 or Zero 1 ('ARMv6' models).
Kiosk mode will not be installed.

Press enter to continue."
read
s-martin marked this conversation as resolved.
Show resolved Hide resolved
ENABLE_KIOSK_MODE=false
else

print_c "
If you have a screen attached to your RPi,
this will launch the Web App right after boot.
It will only install the necessary xserver dependencies
and not the entire RPi desktop environment.

Would you like to enable the Kiosk Mode? [y/N]"
read -r response
case "$response" in
[yY][eE][sS]|[yY])
ENABLE_KIOSK_MODE=true
;;
*)
;;
esac
log "ENABLE_KIOSK_MODE=${ENABLE_KIOSK_MODE}"
read -r response
case "$response" in
[yY][eE][sS]|[yY])
ENABLE_KIOSK_MODE=true
;;
*)
;;
esac
fi

log "ENABLE_KIOSK_MODE=${ENABLE_KIOSK_MODE}"
}

_options_update_raspi_os() {
Expand Down