34 Commits

Author SHA1 Message Date
Tigerblue77
0230b4833b Set functions variables "local" and "readonly" when possible 2025-01-26 16:29:56 +00:00
Tigerblue77
88167eecfb Added print_error and print_warning functions 2025-01-26 15:49:14 +00:00
Tigerblue77
0c18027184 Renamed *_OVERHEAT functions to *_OVERHEATING 2025-01-26 15:49:14 +00:00
Tigerblue77
87372e957d Added convert_hexadecimal_value_to_decimal function 2025-01-26 15:49:14 +00:00
NovaFox161
166ec4b469 Stop printing password to console 2025-01-25 16:42:18 -06:00
Tigerblue77
2c44eadc82 Moving functions to function.sh and avoiding redeclaration in the loop 2024-12-18 18:44:23 +00:00
Tigerblue77
db64028f2f Minor code structure improvements 2024-11-17 21:57:55 +00:00
Tigerblue77
ce7bb3fc9a Added SIGINT signal catch 2024-11-17 21:57:32 +00:00
Tigerblue77
2a5a8a03fc Reduced tests occurence to improve performances 2024-11-17 21:03:37 +01:00
Tigerblue77
a8c12a62c9 Added automatic Gen 14 + check 2024-11-17 21:03:37 +01:00
Ryan
96f6200808 Remove SIGKILL from the trap, as SIGKILL cannot be trapped. 2024-11-10 20:09:02 +01:00
Ryan
6ec7143705 Fix typo 2024-11-10 20:09:02 +01:00
Tigerblue77
f84367985a Minor improvements 2024-03-16 13:23:44 +00:00
Tigerblue77
7e900fefbf Set some variables readonly 2024-03-16 13:14:44 +00:00
Tigerblue77
cf69481bbd Fixed platform check which was not working in LAN mode 2024-01-29 08:26:13 +00:00
Tigerblue77
4df520d6c8 Splitted functions from main code 2024-01-28 23:26:56 +00:00
Tigerblue77
578871cf3f Added a platform check at container startup 2024-01-28 22:18:36 +00:00
Tigerblue77
cb293308e6 Minor fix forgotten in previous PR merge 2024-01-28 22:16:28 +00:00
Tigerblue77
b8372a76e6 Improved code by enabling it to run in LAN mode and removing capability which was required by dmidecode 2024-01-28 22:09:18 +00:00
Tigerblue77
64929802f2 Added server model printing at container startup 2024-01-28 22:09:05 +00:00
Tigerblue77
0a5430d65e Fixed a typo in "threshold" word 2023-03-05 14:08:27 +00:00
Tigerblue77
182f0cc890 Removed bash strict mode that was stopping the container on some setups 2023-03-01 08:33:01 +00:00
Adam Wheat
4141f049fa This increment fails because of
set -euo pipefail.  Using ((++i))
evaluates after the increment and works
2023-02-19 09:41:12 -05:00
Tigerblue77
f8cfad314e Minor improvment suggested by ChatGPT <3 2023-02-17 20:09:02 +00:00
Tigerblue77
492552368c Added conditions in case of second CPU or exhaust sensor absence 2023-02-04 14:19:20 +00:00
Tigerblue77
c30bbad7fe Added IPMI device presence check in local mode 2023-02-04 14:14:20 +00:00
Tigerblue77
9f320e5e0e Add comments for clarity + minor improvements (#39)
* Added comments for clarity.

* Updated comments

* Update Dell_iDRAC_fan_controller.sh

* Added more comments

* Improved PR

---------

Co-authored-by: Ryan Bush <20880666+rpbush@users.noreply.github.com>
2023-02-04 13:09:27 +01:00
Louis
f1c47b0a69 Added option to disable third-party PCIe card default cooling response (#33) 2023-02-02 20:22:02 +01:00
Tigerblue77
19574dacee Added comment 2022-07-10 16:31:51 +02:00
tigerblue77
e7458fca33 Move the sleep to the beginning of the execution loop to ensure a more regular and punctual execution 2022-04-14 15:20:09 +02:00
tigerblue77
9cd6d37b6e Throw away ipmitool command's output to avoid new line in Docker logs 2022-04-14 15:17:13 +02:00
tigerblue77
ce84e2cbed Added gracefull exit function with trap of SIGQUIT, SIGTERM and SIGKILL 2022-04-13 13:53:37 +02:00
tigerblue77
fb9f175092 Docker logs display modified in table form to be more intuitive and synthetic 2022-04-13 12:50:35 +02:00
tigerblue77
37c1089fc5 Remove usage of CRONTAB 2022-04-12 18:55:39 +02:00