Skip to content

Commit

Permalink
legiond: use timer for inotify event
Browse files Browse the repository at this point in the history
  • Loading branch information
st0nie committed Dec 28, 2024
1 parent 277243b commit 025b2f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extra/service/legiond/legiond.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ int main()
pretty("power-state/power-profile change");
pretty("config reload start");
parseconf(&config);
set_all(get_powerstate(), &config);
// as we used to use A3 in acpid cfg
set_timer(&its, 3, 0, timerid);
pretty("config reload end");
}
p += sizeof(struct inotify_event) + event->len;
Expand Down

0 comments on commit 025b2f8

Please sign in to comment.