This commit is contained in:
kyodev 2017-09-22 15:38:15 +02:00
parent f7d1d60cdf
commit 72a821d735
2 changed files with 5 additions and 3 deletions

View File

@ -1201,7 +1201,7 @@ prg_1(){ # début
hote="$(uname -n)"
dateRapport="$(date +"%d %b %Y %H:%M %z")"
echo -e "# getInfo $version sur $hote / $os \n" > "$fileOutput"
echo -e "Rapport au $dateRapport \n" >> "$fileOutput"
echo -e "Rapport du $dateRapport \n" >> "$fileOutput"
}
prg_2(){ # traitements principaux
printf " ."
@ -1219,7 +1219,7 @@ prg_2(){ # traitements principaux
fi_dmesg; printf ".\n\n"
}
prg_3(){ # fin de traitements
echo -e "[rapport getInfo v$version]($urlNotice)\t$(date '+%a %d/%m/%Y %k:%M:%S')\n" >> "$fileOutput"
echo -e "[getInfo v$version]($urlNotice) * $(date '+%a %d/%m/%Y %k:%M:%S')\n" >> "$fileOutput"
f__dialog_oui_non "non" "exporter sur un pastebin par défaut?" && fipaste
f__info "\n le rapport est disponible en local, fichier:$GREEN $fileOutput"
f__info "vous pouvez le visualiser avec $GREEN$script -l$COLOR"
@ -1250,6 +1250,7 @@ for i in $options; do
prg_3
exit ;; # programme
-d | --dmesg )
prg_1
fi_dmesg "dmesg"
prg_3
exit ;; # rapport dmesg only, root requis

View File

@ -1,7 +1,7 @@
# changelog getInfo
## 1.21.0 22/09/2017
## 1.21.1 22/09/2017
* système, présentation en table pour meilleure présentation
* daemon d'initialisation (systemd ou autre)
@ -9,6 +9,7 @@
et sélection par slot, présentation
* révision fi_reseau, homogénéité nnv au lieu de nnk et sélection par slot , présentation
* révision fi_sources, présentation et nombres de paquets upgradables
* présentaion rapport, modifs mineures
## 1.20.0 18/09/2017