diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 26d190598..67b2d07d9 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -57,7 +57,6 @@ usr/lib/libgcc_s.so.1 usr/local/bin/connscheduler usr/local/bin/dialctrl.pl usr/local/bin/hddshutdown -usr/local/bin/hddshutdown-state usr/local/bin/httpscert usr/local/bin/makegraphs usr/local/bin/qosd diff --git a/src/scripts/hddshutdown b/src/scripts/hddshutdown index cac546a14..ac91382b1 100644 --- a/src/scripts/hddshutdown +++ b/src/scripts/hddshutdown @@ -21,10 +21,10 @@ $status = `hdparm -C /dev/$hdd | tail -1 | cut -d: -f2`; if ( $status=~/standby/){ my $ftime = localtime((stat("/tmp/hddshutdown-$hdd"))[9]); - print"Disk $hdddev status: standby (since $ftime)"; + print"Disk $hdd status: standby (since $ftime)"; } else{ - print"Disk $hdddev status: active"; + print"Disk $hdd status: active"; } exit; }