Raspi-image-spec/rootfs/etc/systemd/system/rpi-reconfigure-raspi-firmw...

15 lines
355 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Reconfigure raspi-firmware to regenerate config.txt matching actual hardware
Before=sysinit.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=sysinit.target