I run DietPi
on my Raspberry Pi 2, which I use exclusively for programming Atari Lynx cartridges via the Lynx Cart Programmer Pi-Hat
and as a result the Raspberry Pi is only ever turned on when I need to burn ROMs to cartridges. Usually this is a quick process but sometimes I noticed it runs into errors on boot with the "Waiting for Dietpi-Postboot to finish (x/15) - syntax error in expression"
error appears over and over.
I've put up with this for a while but eventually it got the better of me and I had to fix it. Turned out the fix was really quite simple!
There is syntax error in one of the DietPi scripts. Specifically the /DietPi/dietpi/login
script. There is a line that reads like this...
The line should read like this (just add the " 2 "
After this fix those errors disappear. Nice and easy!
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer