etc.etc¶
$ target-query <path/to/target> -f etc.etc
Module |
|
Output |
|
Module documentation
Unix etc configuration tree plugin.
Function documentation
This plugin yields configuration information from the etc directory in key value pairs.
- Args:
pattern: What glob-style pattern to search for. root: Path to use as root for searching. unknowns: Whether to also yield entries for unknown entries.
Yields UnixConfigTreeRecord with the following fields:
source (path): The path on the target used for parsing.
path (path): The path inside the configuration file that is being used.
key (string): The configuration key returned by parsing.
value (string[]): The configuration value belonging to the key.