mirror of
https://github.com/systemd/systemd.git
synced 2026-07-26 11:20:26 +00:00
systemd-path: add new type SD_PATH_SEARCH_SYSCTL
Add new type SD_PATH_SEARCH_SYSCTL to the ones that systemd-path already know. Before the change: $ systemd-path | egrep sysctl sysctl: /usr/lib/sysctl.d After the change: $ ./systemd-path | egrep sysctl search-sysctl: /etc/sysctl.d:/run/sysctl.d:/usr/local/lib/sysctl.d:/usr/lib/sysctl.d sysctl: /usr/lib/sysctl.d
This commit is contained in:
@@ -66,6 +66,7 @@ static const char* const path_table[_SD_PATH_MAX] = {
|
||||
[SD_PATH_SEARCH_CONFIGURATION_FACTORY] = "search-configuration-factory",
|
||||
[SD_PATH_SEARCH_STATE_FACTORY] = "search-state-factory",
|
||||
[SD_PATH_SEARCH_CONFIGURATION] = "search-configuration",
|
||||
[SD_PATH_SEARCH_SYSCTL] = "search-sysctl",
|
||||
|
||||
[SD_PATH_SYSTEMD_UTIL] = "systemd-util",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user