diff options
author | Alex Crawford <alex.crawford@coreos.com> | 2016-04-27 23:59:20 -0700 |
---|---|---|
committer | Alex Crawford <alex.crawford@coreos.com> | 2016-05-03 11:46:14 -0700 |
commit | 8965d9f8b93b467c8827201b8cd55a762e406801 (patch) | |
tree | 2058a5d5ec7d2069305261f6ce8ac57eab01443a /src/libudev | |
parent | 622d37058487ce955337ca9d843d92a67cd6a609 (diff) |
install: cache the presets before evaluating
The previous implementation traversed the various config directories,
walking the preset files and parsing each line to determine if a service
should be enabled or disabled. It did this for every service which
resulted in many more file operations than neccessary.
This approach parses each of the preset entries into an array which is
then used to check if each service should be enabled or disabled.
Diffstat (limited to 'src/libudev')
0 files changed, 0 insertions, 0 deletions