move parts of the failsafe code to the generic base-files - will be used on atheros...