scripts: split/refactor the policy-device-routes script into smaller hooks

This commit is contained in:
George Kiagiadakis
2022-12-09 18:41:29 +02:00
committed by Julian Bouzas
parent 7ae4fca46b
commit b5d8a7982f
8 changed files with 757 additions and 527 deletions

View File

@@ -134,7 +134,7 @@ static gint
get_default_event_priority (const gchar *event_type)
{
if (!g_strcmp0 (event_type, "find-target-si-and-link") ||
!g_strcmp0 (event_type, "select-profile"))
g_str_has_prefix (event_type, "select-"))
return 500;
else if (!g_strcmp0 (event_type, "rescan-session"))
return -500;