Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/network/ddclient | ||
|---|---|---|
| 5 | 5 |
# The base frame is copied from the proftp plugin |
| 6 | 6 |
# |
| 7 | 7 |
########################################################################################## |
| 8 |
# Folgende Eintraege in der Datei /etc/munin/plugin-conf.d/munin-node nicht vergessen ! #
|
|
| 8 |
# Folgende Eintraege in der Datei /etc/munin/plugin-conf.d/munin-node nicht vergessen ! # |
|
| 9 | 9 |
# Don't forget to add following lines to the file /etc/munin/plugin-conf.d/munin-node # |
| 10 | 10 |
# [quota] # |
| 11 | 11 |
# user root # |
| ... | ... | |
| 50 | 50 |
# Zeitfenster vergroessert werden resize the reference periode |
| 51 | 51 |
if [ "${1//[^[:digit:]]}" != "" ]; then
|
| 52 | 52 |
factor=${1//[^[:digit:]]}
|
| 53 |
else
|
|
| 53 |
else |
|
| 54 | 54 |
factor=1 |
| 55 | 55 |
fi |
| 56 | 56 |
|
| ... | ... | |
| 77 | 77 |
|
| 78 | 78 |
# Nur zum Testen - for testing ony |
| 79 | 79 |
if [ "$factor" -gt 1 ]; then |
| 80 |
echo "======================== Nur fuer Testzwecke ======================"
|
|
| 80 |
echo "======================== Nur fuer Testzwecke ======================" |
|
| 81 | 81 |
echo "Timestamp :" $Timestamp $(date -d "1970-01-01 UTC + $Timestamp seconds") |
| 82 | 82 |
echo "Ref_Timestamp:" $Ref_Timestamp $(date -d "1970-01-01 UTC + $Ref_Timestamp seconds") |
| 83 |
echo "Zeitfenster :" $((Timeslot/60)) Minuten
|
|
| 83 |
echo "Zeitfenster :" $((Timeslot/60)) Minuten |
|
| 84 | 84 |
echo "Last_update :" $Last_update $(date -d "1970-01-01 UTC + $Last_update seconds") |
| 85 |
echo "======================== for testing only ======================"
|
|
| 85 |
echo "======================== for testing only ======================" |
|
| 86 | 86 |
fi |
Formats disponibles : Unified diff