EEPROM fuse

Hello. I apologize if this has been answered in another topic but I have searched and haven't found what I'm looking for.

I have a Dragino yun shield with an Arduino mega 2560. EEPROM is erased when a new sketch is uploaded. I'd like to fix this by modifying fuses but everything I've found is quite vague and over my head.

Anyone know of any good resources that might have step by step instructions for how to do this?

Thanks!

Solved!
I SSH'ed into root, then cd'd to usr/bin/ and then "vi run-avrdude"
This brings up the text editor and the line that says
"elif [ $profile == 'mega2650' ]; then
avr -c linxgpio -C /etc/avrdude.conf -p m2560 -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m"

change the "D9" to "D0" and it worked! EEPROM is saved after uploading a new sketch.

the text editor VI is tricky to learn but I figured it out.