mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 12:36:27 +02:00
reboot to activate touchscreen
This commit is contained in:
@@ -645,6 +645,12 @@ if [ ${isMounted} -eq 0 ]; then
|
||||
# signal that setup phas is over
|
||||
sed -i "s/^setupPhase=.*/setupPhase='done'/g" ${infoFile}
|
||||
|
||||
# if touchscreen is on (on recover/update) --> reboot now to activate touchscreen
|
||||
source ${configFile}
|
||||
if [ "${touchscreen}" == "1" ] || [ "${touchscreen}" == "on" ]; then
|
||||
/home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
############################
|
||||
|
Reference in New Issue
Block a user