Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion linux_boot_analyzer/collector/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

SYSTEM_TO_UNIT_FILE_GLOB = {
"systemd": os.path.join("/", "etc", "systemd", "system", "*service"),
"sysv": os.path.join("/", "etc", "init.d", "*")
"sysv": os.path.join("/", "etc", "init.d", "*"),
"awesomeboot": os.path.join("/", "etc", "awesomeboot", "*boot")
}
4 changes: 4 additions & 0 deletions linux_boot_analyzer/collector/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def parse_unit(self, path):

# todo elif self.system == "sysv": shlex and parse the executable from the "start" directive if exists.

elif self.system == "awesomeboot":
parsed = 6
results["awesomeboot-factor"] = parsed

return results


Expand Down