Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/network/if_uptime | ||
|---|---|---|
| 19 | 19 |
# |
| 20 | 20 |
# Plugin | Used | Suggestions |
| 21 | 21 |
# ------ | ---- | ----------- |
| 22 |
# if_uptime | yes |
|
|
| 22 |
# if_uptime | yes | |
|
| 23 | 23 |
# |
| 24 | 24 |
# 7. Restart munin: "/etc/init.d/munin-node restart" |
| 25 | 25 |
# 8. Hold on for 5 minutes at most and watch the graph appear. |
| ... | ... | |
| 117 | 117 |
EOF |
| 118 | 118 |
|
| 119 | 119 |
} |
| 120 |
# Munin routines
|
|
| 120 |
# Munin routines |
|
| 121 | 121 |
case "$1" in |
| 122 | 122 |
autoconf) |
| 123 | 123 |
if [[ $(ifconfig &> /dev/null; echo "$?") == 0 ]]; then |
| ... | ... | |
| 146 | 146 |
done |
| 147 | 147 |
exit 0 |
| 148 | 148 |
;; |
| 149 |
*)
|
|
| 149 |
*) |
|
| 150 | 150 |
# Print data for Munin |
| 151 | 151 |
for (( i=0; i<"${#INTERFACES[*]}"; i++ ))
|
| 152 | 152 |
do |
Formats disponibles : Unified diff