Commit Graph

14 Commits

Author SHA1 Message Date
Alastair Poole 9803a904ea battery: Fix Linux typo.
Remember to check on Linux before doing a release you spazz!!!
2020-08-23 17:56:48 +01:00
Alastair Poole 3c62339c07 formatting: some spaces. 2020-07-12 22:56:36 +01:00
Alastair Poole 3ceaad0afd machine: ifdef chopping and splicing functions.
This stuff is bad...where did i learn to be doing such things.
2020-07-11 18:34:49 +01:00
Alastair Poole fe30a5a72f machine: ifdef chopping within functions.
I don't belive in ifdef blocks within a single function. Ideally
keep the blocks separate at worst. I think if this is necessary
at the time it's permissible but overall it's fucking ugly.
2020-07-11 18:30:23 +01:00
Alastair Poole c0c26ff882 machine: linux battery model/vendor purge
If enough people complain i'll bring this back, but for now keep
it simple until i can test it again properly...it works but
it's horrible
2020-07-11 18:24:30 +01:00
Alastair Poole aa1822c212 machine: ahead of the game...
Meh, we can't yet query by type.
2020-07-11 18:48:13 +01:00
Alastair Poole d1d4d0fb9e openbsd: fix for non-acpi batteries 2020-07-11 17:23:34 +01:00
Alastair Poole 09e8249689 machine: Explain use of machine and tidy Linuxisms
The functions machine.h provides are deliberately using standard
functions from a base install of the operating system. This IS
intentional. I'd like to be able to modify and reuse this anywhere
without having to untangle additional dependencies from machine to
machine.
2020-07-11 13:09:38 +01:00
Alastair Poole b018c8a3f7 machine: tidy declaration 2020-07-11 02:04:48 +01:00
Alastair Poole 9178cbc0d3 cosmetics: if, for, while, wtf 2020-07-10 19:12:30 +01:00
Alastair Poole ff4a80bd87 network: handle multiple addresses on same interface. 2020-07-10 15:04:06 +01:00
Alastair Poole 3c2b50adea typo 2020-07-10 12:00:03 +01:00
Alastair Poole c0f6d74903 Add Copyright. 2020-07-10 11:58:09 +01:00
Alastair Poole 5c3a3cfe10 machine: Include .bogox files for clarity.
To make this maintainable (for now), split the machine querying
code into separate files. I'd like to be able to modify the file
without fear of breaking it here or there. Also, for anyone who
wants to make a change or ammendment doing this is cleaner.
2020-07-10 11:50:49 +01:00