remove useless network interface configuration
[debian6500.git] / master / opt / cluster / lite / etc / rc.local
index 234bce13f5748dc55dec97285ceff38740f82e49..facfb7e0a1828cffb8fb66cbc90ab4363bc93733 100755 (executable)
@@ -9,25 +9,8 @@
 # In order to enable or disable this script just change the execution
 # bits.
 
-# distribute interrupt for eth0 on core 0
-core=(800)
-eth=0
-l=0
-for i in $(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc/interrupts); do
-  echo "echo ${core[$l]} > /proc/irq/$i/smp_affinity"
-  l=$(expr $l + 1)
-  [ $l -eq ${#core[*]} ] && l=1
-done
-
-# distribute interrupt for eth1 on core 11
-core=(1)
-eth=1
-l=0
-for i in $(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc/interrupts); do
-  echo "echo ${core[$l]} > /proc/irq/$i/smp_affinity"
-  l=$(expr $l + 1)
-  [ $l -eq ${#core[*]} ] && l=1
-done
+# 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