Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/fan/ibmfan | ||
|---|---|---|
| 1 | 1 |
#!/bin/sh |
| 2 |
#
|
|
| 2 |
# |
|
| 3 | 3 |
# Plugin to monitor fan speed on an IBM/Lenovo Laptop |
| 4 | 4 |
# |
| 5 | 5 |
# This plugin reads the current speed of the system fan from |
| 6 | 6 |
# the /proc file system. As it queries specific files provided |
| 7 |
# by kernel modules for IBM/Lenovo Laptops, it probably only
|
|
| 7 |
# by kernel modules for IBM/Lenovo Laptops, it probably only |
|
| 8 | 8 |
# works for those, but it should be easy to adapt to others |
| 9 | 9 |
# if similar information is available for other types of laptops. |
| 10 | 10 |
# |
| ... | ... | |
| 26 | 26 |
fi |
| 27 | 27 |
fi |
| 28 | 28 |
|
| 29 |
|
|
| 29 |
|
|
| 30 | 30 |
if [ "$1" = "config" ]; then |
| 31 | 31 |
echo 'graph_title Fan speed' |
| 32 | 32 |
echo 'graph_args --base 1000 -l 0' |
Formats disponibles : Unified diff