File tree 1 file changed +26
-12
lines changed
1 file changed +26
-12
lines changed Original file line number Diff line number Diff line change @@ -208,25 +208,39 @@ Would you like to install the Web App? [Y/n]"
208
208
}
209
209
210
210
_option_kiosk_mode () {
211
- # ENABLE_KIOSK_MODE
212
- clear_c
213
- print_c " ----------------------- KIOSK MODE ----------------------
211
+ # ENABLE_KIOSK_MODE
212
+ clear_c
213
+ print_c " ----------------------- KIOSK MODE ----------------------"
214
+ if [[ $( get_architecture) == " armv6" ]]; then
215
+
216
+ print_c "
217
+ Due to limited resources the kiosk mode is not supported
218
+ on Raspberry Pi 1 or Zero 1 ('ARMv6' models).
219
+ Kiosk mode will not be installed.
220
+
221
+ Press enter to continue."
222
+ read
223
+ ENABLE_KIOSK_MODE=false
224
+ else
214
225
226
+ print_c "
215
227
If you have a screen attached to your RPi,
216
228
this will launch the Web App right after boot.
217
229
It will only install the necessary xserver dependencies
218
230
and not the entire RPi desktop environment.
219
231
220
232
Would you like to enable the Kiosk Mode? [y/N]"
221
- read -r response
222
- case " $response " in
223
- [yY][eE][sS]|[yY])
224
- ENABLE_KIOSK_MODE=true
225
- ;;
226
- * )
227
- ;;
228
- esac
229
- log " ENABLE_KIOSK_MODE=${ENABLE_KIOSK_MODE} "
233
+ read -r response
234
+ case " $response " in
235
+ [yY][eE][sS]|[yY])
236
+ ENABLE_KIOSK_MODE=true
237
+ ;;
238
+ * )
239
+ ;;
240
+ esac
241
+ fi
242
+
243
+ log " ENABLE_KIOSK_MODE=${ENABLE_KIOSK_MODE} "
230
244
}
231
245
232
246
_options_update_raspi_os () {
You can’t perform that action at this time.
0 commit comments