Set default value to parameter on boot

i am trying to develop arducopter firmware such that a parameter is set to its default value everytime it boots and need help in doing so.

there is a file system.cpp where the parameters are loaded during boot phase. by assigning default values in that code i was able to do this.