mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -22,7 +22,7 @@
|
|||
# Running: HP embedded
|
||||
# OS details: HP Onboard Administrator management console
|
||||
# Uptime: 7.226 days (since Thu Dec 9 21:01:44 2010)
|
||||
#
|
||||
#
|
||||
# OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
|
||||
# Nmap done: 1 IP address (1 host up) scanned in 29.279 seconds
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
@ -71,7 +71,7 @@ if [ "$1" = "autoconf" ]; then
|
|||
echo "no (Freebox not reachable)"
|
||||
exit 2
|
||||
else
|
||||
echo yes
|
||||
echo yes
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
|
|||
graph_info="Shows the uptime of your freebox (cache: ${CACHE_HOURS}h"
|
||||
if [ -f $CACHE_FILE ]; then
|
||||
lastCheck=$(stat -c %z $CACHE_FILE | cut -d"." -f1)
|
||||
lastReboot=$(awk -F"@" '{print $2}' $CACHE_FILE)
|
||||
lastReboot=$(awk -F"@" '{print $2}' $CACHE_FILE)
|
||||
graph_info="${graph_info} - last check: ${lastCheck} - last reboot: $lastReboot"
|
||||
else
|
||||
graph_info="${graph_info})"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue