mirror of https://framagit.org/kyodev/kyopages.git
getInfo 2.50.2
This commit is contained in:
parent
6518a6a158
commit
6199e3a9a8
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=2.50.1
|
||||
version=2.50.2
|
||||
date="30/11/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
|
@ -604,16 +604,19 @@ fi_batt(){ # 10/11/2017
|
|||
# $1=silent (pas d'affichage), assigne $fe_nb_bluez, $fe_cards_bluez
|
||||
fi_bluez(){ # 30/11/2017
|
||||
local bluez cmd_bluez cmt_bluez mod cmd_mod cmt_mod srch_mod text
|
||||
local alert_na
|
||||
|
||||
if [ "$( f__which hciconfig )" ]; then
|
||||
fe_nb_bluez=$( hciconfig name | grep -c '^hci[0-9].*$' )
|
||||
fe_cards_bluez=$( hciconfig name | grep -Eo '^hci[0-9]+' )
|
||||
fe_cards_bluez=${fe_cards_bluez//[[:cntrl:]]/ }
|
||||
fe_nb_bluez=$( hciconfig name 2>/dev/null ) || alert_na="PB" # stck tempo du retour hciconfig
|
||||
fe_cards_bluez=$( grep -Eo '^hci[0-9]+' <<< $fe_nb_bluez )
|
||||
fe_nb_bluez=$( grep -c '^hci[0-9].*$' <<< $fe_nb_bluez )
|
||||
fe_cards_bluez=${fe_cards_bluez//[[:cntrl:]]/ }
|
||||
else
|
||||
fe_nb_bluez=0
|
||||
return 0
|
||||
fi
|
||||
[ "$1" == "silent" ] && return 0
|
||||
f_dspl_alert "alert_na" "alert"
|
||||
[ "$fe_nb_bluez" -eq 0 ] && return 0
|
||||
|
||||
# état
|
||||
bluez=$( hciconfig -a )
|
||||
|
|
|
@ -5,21 +5,20 @@
|
|||
|
||||
|
||||
|
||||
## 2.50.1 30/11/2017
|
||||
## 2.50.2 30/11/2017
|
||||
|
||||
* nouveau: fi_system, panel
|
||||
* nouveau: figet_modules, maj dynamiques des modules sur le kernel actif
|
||||
* nouveau: fi_bluez
|
||||
* nouveau: bluetooth
|
||||
* nouveau: fi_system, panel
|
||||
* nouveau: fi_net, réseau scindé, partie matérielle, figet_modules
|
||||
* nouveau:
|
||||
* révision: fi_audio, variables publiques, insertion dans fi_system
|
||||
* révision: figet_lspci, renommage, motifs extraction à l'intérieur
|
||||
* révision: fi_audio, fi_graph, fi_net (figet_lspci)
|
||||
* révision: fi_reseau, expurgée du matériel
|
||||
* révision: fi_gpu, renommage fi_graph, utilisation figet_modules
|
||||
* révision:
|
||||
* suppression : figet_mod_net, adieu wireless-info
|
||||
* suppression : figet_gpu, suppression, fusion avec fi_gpu
|
||||
* fix: fi_bluez, device n/a
|
||||
|
||||
|
||||
## 2.49.3 29/11/2017
|
||||
|
|
Loading…
Reference in New Issue