7ae4c4346bc1f72cfea4cc62e75db2cfb8ac1517
5 # This script is executed at the end of each multiuser runlevel.
6 # Make sure that the script will "exit 0" on success or any other
9 # In order to enable or disable this script just change the execution
12 # distribute interrupt for eth0 on core 0
16 for i
in $
(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc
/interrupts
); do
17 echo ${core[$l]} > /proc
/irq
/$i/smp_affinity
19 [ $l -eq ${#core[*]} ] && l
=1
22 # distribute interrupt for eth1 on core 11
26 for i
in $
(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc
/interrupts
); do
27 echo ${core[$l]} > /proc
/irq
/$i/smp_affinity
29 [ $l -eq ${#core[*]} ] && l
=1
32 # remove acpi cpu frequence controler
33 modprobe
-r acpi_cpufreq
35 # fill screen of dummy lines to keep last messages in history
36 for i
in $
(seq 1 25); do