diff --git a/plugins/alsa-utils.c b/plugins/alsa-utils.c index 7d5c8eaa..22d530f1 100644 --- a/plugins/alsa-utils.c +++ b/plugins/alsa-utils.c @@ -39,6 +39,7 @@ static void restore(void *UNUSED(arg)) } static plugin_t plugin = { + .name = __FILE__, .hook[HOOK_BASEFS_UP] = { .cb = restore }, diff --git a/plugins/bootmisc.c b/plugins/bootmisc.c index 437f04f6..d93c3ded 100644 --- a/plugins/bootmisc.c +++ b/plugins/bootmisc.c @@ -87,7 +87,7 @@ static void setup(void *UNUSED(arg)) } static plugin_t plugin = { - .name = "bootmisc", + .name = __FILE__, .hook[HOOK_BASEFS_UP] = { .cb = setup }, diff --git a/plugins/dbus.c b/plugins/dbus.c index f5e8d82a..b86c7db2 100644 --- a/plugins/dbus.c +++ b/plugins/dbus.c @@ -42,6 +42,7 @@ static void setup(void *UNUSED(arg)) } static plugin_t plugin = { + .name = __FILE__, .hook[HOOK_NETWORK_UP] = { .cb = setup }, diff --git a/plugins/hwclock.c b/plugins/hwclock.c index 75d6dd13..65d1ff48 100644 --- a/plugins/hwclock.c +++ b/plugins/hwclock.c @@ -41,6 +41,7 @@ static void restore(void *UNUSED(arg)) } static plugin_t plugin = { + .name = __FILE__, .hook[HOOK_BASEFS_UP] = { .cb = restore }, diff --git a/plugins/initctl.c b/plugins/initctl.c index ff209338..c159537c 100644 --- a/plugins/initctl.c +++ b/plugins/initctl.c @@ -42,6 +42,7 @@ static void parse(void *arg, int fd, int events); static plugin_t plugin = { + .name = __FILE__, .io = { .cb = parse, .flags = PLUGIN_IO_READ, diff --git a/plugins/netlink.c b/plugins/netlink.c index bc68bbe6..5b6a7bed 100644 --- a/plugins/netlink.c +++ b/plugins/netlink.c @@ -180,6 +180,7 @@ static void nl_callback(void *UNUSED(arg), int sd, int UNUSED(events)) } static plugin_t plugin = { + .name = __FILE__, .io = { .cb = nl_callback, .flags = PLUGIN_IO_READ, diff --git a/plugins/resolvconf.c b/plugins/resolvconf.c index 863403fe..5f0c96cb 100644 --- a/plugins/resolvconf.c +++ b/plugins/resolvconf.c @@ -66,6 +66,7 @@ static void setup(void *UNUSED(arg)) } static plugin_t plugin = { + .name = __FILE__, .hook[HOOK_BASEFS_UP] = { .cb = setup }, diff --git a/plugins/tty.c b/plugins/tty.c index 623c5e27..f456663e 100644 --- a/plugins/tty.c +++ b/plugins/tty.c @@ -37,6 +37,7 @@ static void watcher(void *arg, int fd, int events); static plugin_t plugin = { + .name = __FILE__, .io = { .cb = watcher, .flags = PLUGIN_IO_READ, diff --git a/plugins/urandom.c b/plugins/urandom.c index fd6a2610..e0e39727 100644 --- a/plugins/urandom.c +++ b/plugins/urandom.c @@ -76,7 +76,7 @@ static void save(void *UNUSED(arg)) } static plugin_t plugin = { - .name = "urandom", + .name = __FILE__, .hook[HOOK_BASEFS_UP] = { .cb = setup }, .hook[HOOK_SHUTDOWN] = { .cb = save }, .depends = { "bootmisc", } diff --git a/plugins/x11-common.c b/plugins/x11-common.c index 24f90466..f4beca93 100644 --- a/plugins/x11-common.c +++ b/plugins/x11-common.c @@ -54,6 +54,7 @@ static void setup(void *UNUSED(arg)) } static plugin_t plugin = { + .name = __FILE__, .hook[HOOK_NETWORK_UP] = { .cb = setup },