1
0

modif listing carte mère

This commit is contained in:
Daniel Tartavel 2019-03-22 11:45:34 +01:00
parent 1950004ebd
commit 844f5b3787
2 changed files with 8 additions and 6 deletions

View File

@ -39,7 +39,7 @@ echo ' /********** Identification BIOS **********' >> $FILE
#*********** Identification CARTE MERE *************
echo '' >> $FILE
echo ' /********** Identification CARTE MERE **********' >> $FILE
/usr/sbin/dmidecode -t baseboard | sed -n '/Manufacturer/p;/Product/p;/Serial/p' >> $FILE
/usr/sbin/lshw | grep -A 5 "description: Carte mère" >> $FILE
#*********** Identification CARTE GRAPHIQUE *************
echo '' >> $FILE

View File

@ -1,3 +1,5 @@
#!/bin/sh
rsync -aP *.txt 192.168.1.253::lalis-ordis
SERIAL=`grep -is -m 1 "serial number" ./identification.txt`
DIRNAME=${SERIAL##* }
mkdir
rsync -aP *.txt lalis69.ddns.net::lalis-ordis