My Profile Photo

Just a non-geek


Just another blog of a try-not-to-be a geek


How I did it: MacMini 2012 - DietPi - Autostart after power fail

setpci -s 0:1f.0 0xa4.b=0

To make this work, let’s add this to the root cron on every reboot, run sudo crontab -e and add the following

@reboot /usr/bin/setpci -s 00:1f.0 0xa4.b=0

you can verify the content of the root cron with

sudo crontab -l