reboot to activate touchscreen

This commit is contained in:
rootzoll 2021-08-26 17:41:53 +02:00
parent 0fbba2b8e5
commit b6c96f133a

View file

@ -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
############################