mirror of
https://github.com/troglobit/finit.git
synced 2026-11-27 20:48:24 +00:00
keventd: generalize coldplug into a filtered trigger
coldplug_trigger(action, subsystem-glob) replays events for a subset
of devices, the D-Bus Trigger method needs both knobs; coldplug() is
now the ("add", NULL) case. nftw() has no user cookie, so the
parameters ride in file statics.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
2 files changed
+54
-12
No files matched your search
@@ -160,6 +160,8 @@ int firmware_load (struct uevent *ev);
|
||||
int modprobe_load (const char *modalias);
|
||||
|
||||
int coldplug (void);
|
||||
int coldplug_trigger (const char *action, const char *subsys_glob);
|
||||
int uevent_action_valid(const char *action);
|
||||
|
||||
#endif /* FINIT_KEVENTD_H_ */
|
||||
|
||||
|
||||
Reference in new issue
Block a user