X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=master%2Fopt%2Fcluster%2Fslave%2Fetc%2Frc.local;h=facfb7e0a1828cffb8fb66cbc90ab4363bc93733;hb=a299db21b201b76f169a7b2c89844a1a18bfef49;hp=563698d0bf4d39777571457c9781530eac98af42;hpb=15d19708439bb1286f4ad5283176b3d3a5c2fdbe;p=debian6500.git diff --git a/master/opt/cluster/slave/etc/rc.local b/master/opt/cluster/slave/etc/rc.local index 563698d..facfb7e 100755 --- a/master/opt/cluster/slave/etc/rc.local +++ b/master/opt/cluster/slave/etc/rc.local @@ -8,20 +8,13 @@ # # In order to enable or disable this script just change the execution # bits. -# -# By default this script does nothing. +# remove acpi cpu frequence controler +modprobe -r acpi_cpufreq + +# fill screen of dummy lines to keep last messages in history for i in $(seq 1 25); do echo TRC6500 done -# distribute interrupt for eth0 on core 1-6 -core=(2 4 8 10 20 40) -l=0 -for i in $(awk '/eth0/ {sub(/:/, ""); print $1}' /proc/interrupts); do - echo ${core[$l]} > /proc/irq/$i/smp_affinity - let l++ - [ $l -eq 6 ] && l=1 -done - exit 0