From a45de06ef13984e01c5e6d0938c005135c8755cb Mon Sep 17 00:00:00 2001 From: ms Date: Mon, 20 Aug 2007 21:05:15 +0000 Subject: [PATCH] Hddshutdown-Fixes. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@792 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/rootfiles/common/stage2 | 1 - src/scripts/hddshutdown | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 26d1905988..67b2d07d9f 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 cac546a14a..ac91382b1e 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; } -- 2.39.2