summaryrefslogtreecommitdiff
path: root/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-24 03:51:05 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-24 03:51:05 +0100
commitf775ccfcf2fadfc1224405b676a8b64d2a19f3ad (patch)
tree36f2221ca587a7d29df88f8bf4e0afb54c738dcf /udev/udevd.c
parentb2ddca8a21e83c52dcbcf538bb61cd470b6fd999 (diff)
builtin: kmod - reload index when rules are reloaded
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index d1f7cd8909..a5ef24417d 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -1701,6 +1701,9 @@ int main(int argc, char *argv[])
rules = rules_new;
}
reload_config = 0;
+
+ udev_builtin_unload(udev);
+ udev_builtin_load(udev);
}
}