sdparm eingebaut.

badblocks in die ISO gepackt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@901 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-09-20 19:29:29 +00:00
parent 56b7a3e2c4
commit f9956330be
7 changed files with 92 additions and 9 deletions

View File

@@ -2,7 +2,6 @@
. /opt/pakfire/lib/functions.sh
extract_files
chown nobody.nobody -Rv /var/ipfire/mpfire
ln -svf ../init.d/mpd /etc/rc.d/rc3.d/S65mpd
ln -svf ../init.d/mpd /etc/rc.d/rc0.d/K35mpd
ln -svf ../init.d/mpd /etc/rc.d/rc6.d/K35mpd

View File

@@ -33,7 +33,7 @@ chomp $newdiskstats;
system("/sbin/hdparm -y /dev/$_");
system("touch /tmp/hddshutdown-$_");
}
elsif ($diskstatus{$_} ne "0" || $status !=~/standby/){
else{
if ($debug){print "Device ".$_." is active.\n";}
if ( -e "/tmp/hddshutdown-$_" ) { system("unlink /tmp/hddshutdown-$_"); }
}