mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +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
|
@ -27,7 +27,7 @@ As is.
|
|||
|
||||
#%# family=contrib
|
||||
#%# capabilities=autoconf
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
case $1 in
|
||||
|
@ -51,7 +51,7 @@ esac
|
|||
wget -q -o /dev/null -O $TMP_DIR/$PRINTER_IP-Supplies.html http://$PRINTER_IP/status/Supplies.html
|
||||
|
||||
|
||||
TONER_STR=$(grep "<td width=5%>" "$TMP_DIR/$PRINTER_IP-Supplies.html")
|
||||
TONER_STR=$(grep "<td width=5%>" "$TMP_DIR/$PRINTER_IP-Supplies.html")
|
||||
#<td width=5%>99%</td>
|
||||
|
||||
echo -n "black.value "
|
||||
|
@ -59,4 +59,4 @@ echo $TONER_STR | egrep -o "5%>[0-9]{1,2}" | egrep -o "[0-9]{1,2}$"
|
|||
|
||||
|
||||
rm $TMP_DIR/$PRINTER_IP-Supplies.html
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue