Is it possible to import settings from another file into config.txt?
As I imagine
config.txt example content:
...
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
...
include="/home/pi/mysettings.txt"
Why I want to do that
I mount the boot partion readonly. Sometimes I need to change some settings.
So I have to:
- modify fstab (make boot partionen writeable)
- restart
- change config.txt
- restart, test settings, maybe back to 3.
- modify fstab (make readonly)
- restart
- done
What I want to do:
- change mysettings.txt
- restart, test settings, maybe back to 1.
- done