diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-01 12:17:22 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-05 17:23:56 +0100 |
commit | 12a362be5c1982f80dbfb75bda070208a2c99cdf (patch) | |
tree | 1f02a514c1675e38628fdce89fc3cf890dec19c2 /udev/udev-rules.c | |
parent | c096407caaf1f3c03bb816e195eebb886662b03a (diff) |
use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentation
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r-- | udev/udev-rules.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index f540a5ae7b..f3e248eb4f 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1798,13 +1798,13 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names) if (udev_get_rules_path(udev) == NULL) { char filename[UTIL_PATH_SIZE]; - /* /lib/udev -- default/package rules */ + /* /usr/lib/udev -- system rules */ add_matching_files(udev, &file_list, LIBEXECDIR "/rules.d", ".rules"); - /* /etc/udev -- system-specific/user/admin rules */ + /* /etc/udev -- local administration rules */ add_matching_files(udev, &file_list, SYSCONFDIR "/udev/rules.d", ".rules"); - /* /run/udev -- throw-away/temporary rules */ + /* /run/udev -- runtime rules */ util_strscpyl(filename, sizeof(filename), udev_get_run_path(udev), "/rules.d", NULL); add_matching_files(udev, &file_list, filename, ".rules"); } else { |