I was curious about this too, since I might use an extra SD card for another distro.
I took a look at what the raspi-config actually changes. You can find it at: https://github.com/asb/raspi-config/blo ... spi-config
The overclock section starts at line 178.
I'm understanding this correctly, raspi-config is writing the values to config.txt and enabling the ondemand cpu governor on boot (AFAIK this is what makes it dynamic).
you could do this manually by editing the config.txt and running:
Code: Select all
echo "ondemand" > $SYS_CPUFREQ_GOVERNOR
If possible, you should copy the whole initscript in the source to enable the shift protection instead of just running this line every time. You never know.
Again, this is just my guess. If somebody else knows more, please fill us in!