Added support functions for fallback system, adapted from nm-dispatcher-olsrd functions that should probably be put in a common library