update to Debian 12 (2)
[debian6500.git] / master / opt / cluster / acq / etc / rc.local
index 9ae4012d32b24862e1f0fb77fc526731fcbd996b..e7af68d7ce1ac215c59fa3ae774aa9c4e29b0fb6 100755 (executable)
@@ -9,16 +9,6 @@
 # In order to enable or disable this script just change the execution
 # bits.
 
-# set eth interrupts on core 0-4
-core=(1 2 4 8 10)
-for j in $(seq 0 5); do
-       for i in $(cat /proc/interrupts |awk '/eth'$j'/ {sub(/:/, "");; print $1}'); do
-                       echo ${core[$l]} > /proc/irq/$i/smp_affinity
-               let l++;
-               [ $l -eq ${#core[*]} ] && l=0
-       done
-done
-
 # check eth2-5 (issue with client blade)
 ip addr | awk '/: / {sub(/:/, "", $2); eth=$2} /inet / {print eth, $2}' > /root/ip.addr
 for i in $(seq 2 5); do
@@ -26,6 +16,9 @@ for i in $(seq 2 5); do
                grep -q $interface /root/ip.addr || { ifdown $interface; ifup $interface; }
 done
 
+# remove acpi cpu frequence controler
+modprobe -r acpi_cpufreq
+
 for i in $(seq 1 25); do
         echo TRC6500
 done