What about SMOS automatic updates if I do any change in this file? Will SMOS overwrite my changes? Is it possible to disable automatic updates to prevent oc_dmp2.sh file overwriting?
Yes, it's highly possible

I make copy of this file and check changes after all updates.