From 37a733cb147588a7d0d20b557d184cc601434175 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Mon, 12 Dec 2016 18:41:53 -0600 Subject: [PATCH] indent --- scripts/scan-hdd | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/scan-hdd b/scripts/scan-hdd index 591ee65..1e98ba3 100755 --- a/scripts/scan-hdd +++ b/scripts/scan-hdd @@ -5,14 +5,14 @@ if [ -z $OUTPUT_DIR ] ; then fi DISKS=`smartctl --scan | cut -d ' ' -f 1` -#DISKS=sda +#DISKS=/dev/sdb for DISK in ${DISKS} do -echo -n "$DISK:" >> $OUTPUT_DIR/disk.lst -smartctl -i $DISK \ -| grep -i 'serial number' \ -| cut -d ':' -f 2 \ -| sed 's/\s\+//' \ ->> $OUTPUT_DIR/disk.lst + echo -n "$DISK:" >> $OUTPUT_DIR/disk.lst + smartctl -i $DISK \ + | grep -i 'serial number' \ + | cut -d ':' -f 2 \ + | sed 's/\s\+//' \ + >> $OUTPUT_DIR/disk.lst done