Add a hook for prefering wired over wifi