clean comments

This commit is contained in:
Sandino Araico Sanchez 2016-12-12 16:35:27 -06:00
parent 63109fc217
commit dc908df1a4

View file

@ -4,13 +4,10 @@ if [ -z $OUTPUT_DIR ] ; then
source scan-dmidecode
fi
DISKS=`smartctl --scan | cut -d ' ' -f 1` # | sed 's/^.*\/// ; s/$//'`
#echo $DISKS
#exit
DISKS=`smartctl --scan | cut -d ' ' -f 1`
#DISKS=sda
for DISK in ${DISKS}
do
#echo $DISK #-n "$DISK:" #>> $OUTPUT_DIR/disk.lst
echo -n "$DISK:" >> $OUTPUT_DIR/disk.lst
smartctl -i $DISK \
| grep -i 'serial number' \
@ -18,3 +15,4 @@ smartctl -i $DISK \
| sed 's/\s\+//' \
>> $OUTPUT_DIR/disk.lst
done