mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-06 14:15:05 +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
|
||||
|
@ -84,10 +84,10 @@ wget -q -o /dev/null -O $TMP_DIR/$PRINTER_IP-stsply.htm http://$PRINTER_IP/stspl
|
|||
|
||||
#toner and drum cartriges have both status and percentage
|
||||
|
||||
TONER_STR=$(grep Toner "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
||||
TONER_STR=$(grep Toner "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
||||
#info=info.concat([['Toner Cartridges',[['Cyan Toner [C]',0,77],['Magenta Toner [M]',7,1],['Yellow Toner [Y]',7,1],['Black Toner [K]',0,39]],3]]);
|
||||
|
||||
DRUM_STR=$(grep Drum "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
||||
DRUM_STR=$(grep Drum "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
||||
#info=info.concat([['Drum Cartridges',[['Drum Cartridges',0,79]],1]]);
|
||||
|
||||
echo -n "cyan.value "
|
||||
|
@ -106,4 +106,4 @@ echo -n "drum.value "
|
|||
echo $DRUM_STR | egrep -o "s',[0-9],[0-9]{1,2}" | egrep -o "[0-9]{1,2}$"
|
||||
|
||||
rm $TMP_DIR/$PRINTER_IP-stsply.htm
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue