View script: https://pastebin.com/maG4mJtQ
Setup:
- Flash the DreamPi image
- Boot and setup wifi (reboot if needed)
- Verify you have an internet connection
- Make any other optional changes you'd like (enable ssh, change password, etc)
- Download & run the script:
Code: Select all
wget https://pastebin.com/raw/maG4mJtQ -O read-only-dreampi.sh ; sudo bash read-only-dreampi.sh
- Reboot
I striped out most of the stuff I knew wasn't needed. Of note is the removal of the busybox-syslogd install as this breaks compatibility with dcnow.py (dreamcast.online). Busybox-syslogd doesn't update /var/log/syslog that dcnow.py reads to determine which game you're playing. The script keeps the remount & halt GPIO pin options and includes a pinout display with (Adafruit's) suggested GPIO's at the prompts. Everything is setup to run at boot with systemd (no rc.local). Like the original script, there's no scripted uninstall/undo.
You can always remount / as RW after boot if you need to update wifi or other settings:
Code: Select all
sudo mount -o remount,rw /