X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=master%2Fopt%2Fcluster%2Fslave%2Fetc%2Frc.local;h=9268f57b2dcdcffa0b87dce04dd817a6acfa8f08;hb=2c2423eb675976c2451464b695877b6d6e193085;hp=563698d0bf4d39777571457c9781530eac98af42;hpb=004ca315c0fa90defb0fe1ba9d2b16480ffeaca8;p=debian6500.git diff --git a/master/opt/cluster/slave/etc/rc.local b/master/opt/cluster/slave/etc/rc.local index 563698d..9268f57 100755 --- a/master/opt/cluster/slave/etc/rc.local +++ b/master/opt/cluster/slave/etc/rc.local @@ -8,20 +8,10 @@ # # In order to enable or disable this script just change the execution # bits. -# -# By default this script does nothing. +# 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