[Unit] Description=Reconfigure raspi-firmware to regenerate config.txt matching actual hardware Before=local-fs-pre.target DefaultDependencies=no RequiresMountsFor=/boot/firmware [Service] Type=oneshot TimeoutSec=infinity ExecStart=/usr/sbin/dpkg-reconfigure raspi-firmware ExecStart=/bin/systemctl --no-reload disable %n [Install] RequiredBy=local-fs-pre.target