I will prepare several files tomorrow.
but basically you echo a string to a file in /sys
echo whatever > /sys/class/cpu/etc/etc
you'll have to provide 8 voltage values for cpu voltage control and 2 values for gpu voltage control
google for "android sample voltage control script"
there is even an application which supports sgs2 and saves the scripts to init.d
share your experiences back in this thread. I've just searched that string and the application came out to be the first result. if you have success please keep us posted.