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 ************* #*********** Identification CARTE MERE *************
echo '' >> $FILE echo '' >> $FILE
echo ' /********** Identification CARTE MERE **********' >> $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 ************* #*********** Identification CARTE GRAPHIQUE *************
echo '' >> $FILE echo '' >> $FILE

View File

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