Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/other/globesurfer
1 1
#!/bin/sh
2
# 
3
# 
4
# Script to the signal strength of a Open GlobeSurfer II 3G router. 
2
#
3
#
4
# Script to the signal strength of a Open GlobeSurfer II 3G router.
5 5
#
6 6
# Parameters understood:
7 7
#
......
31 31
fi
32 32

  
33 33
wget -q http://192.168.1.1 -O /tmp/index.html
34
grep "dBm" /tmp/index.html | perl -ne 'if (/(-\d+) dBm/) {print "-en signal_strength.value ".$1}'; 
34
grep "dBm" /tmp/index.html | perl -ne 'if (/(-\d+) dBm/) {print "-en signal_strength.value ".$1}';
35 35
rm /tmp/index.html

Formats disponibles : Unified diff