scripts: run find-best-profile hook before running apply-profile hook
This commit is contained in:
@@ -13,6 +13,7 @@ log = Log.open_topic ("s-device")
|
|||||||
SimpleEventHook {
|
SimpleEventHook {
|
||||||
name = "device/find-best-profile",
|
name = "device/find-best-profile",
|
||||||
after = "device/find-stored-profile",
|
after = "device/find-stored-profile",
|
||||||
|
before = "device/apply-profile",
|
||||||
interests = {
|
interests = {
|
||||||
EventInterest {
|
EventInterest {
|
||||||
Constraint { "event.type", "=", "select-profile" },
|
Constraint { "event.type", "=", "select-profile" },
|
||||||
|
Reference in New Issue
Block a user