I was pulling into my yard when i noticed smoke and the smell of burning electrical i realized it was my truck coming from under the hood,got her parked turned off the key [engine kept running-idleing] opened the hood and the main fuse box had smoke coming from it ran in the garage to get tools and faceshield,gloves to disconnect batterys by the time i got back out the engine had shut off. I disconnected the batterys and started looking for the cause i found a small ground wire that was not hooked to anything had fell onto one of the posts for the intake heat things [they are two small coil looking things below the drivers battery with wires going to the tops [2 ea] and two smaller ones on the sides. I removed the burnt up ground wire and started assesing the damage kinda hard to see so i checked all the breakers/fuses that were to do with engine stuff [all good] and hooked up the batterys temporary everything works as should lights ect. so i tightened down the terminals and went for a start she fired up and died tried again same thing during the second start there was no wait to start light i aborted and turned key back to off and tried again and no light so i did not try to start it again. I'm a gasoline hotrod guy i have had diesels for many years and my learning has been when a problem arises i ask questions and follow the answers. I have a manual and i'm thinking that the dead short took out a component in the air intake heat relays or the fuel solenoid, fuel relay or a combanation but before i start throwing money [i don't have] in parts i'm asking for some advice.