mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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-$_"); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user