cyanogenmod 10.1 samsung galaxy s2 usb masstorage mode

Hi

To enable the usb masstorage mode in CM 10.1 on SGS2 start the Terminal Emulator and type the following:

su
setprop persist.sys.usb.config mass_storage
getprop persist.sys.usb.config
reboot

Have fun!