Skip to content
  • Thomas Haller's avatar
    dispatcher: better detection for dispatcher scripts · 0a7a7f5e
    Thomas Haller authored
    
    
    Previously, we would not check the content of the script directory.
    This meant, that "/etc/NetworkManager/dispatcher.d" almost always
    contained something, namely the "pre-up.d" and "pre-down.d" directories.
    
    Improve that by searching the directories for at least one
    executable file.
    
    Also, debug log the detected state of the dispatcher directories.
    
    Signed-off-by: default avatarThomas Haller <thaller@redhat.com>
    0a7a7f5e