Συντονιστής: konnn

pavlaras έγραψε:Καλημερα, θελω να ρωτησω πως να γινουν μονιμες οι αλλαγες στο governor. Δηλαδη αλλαζω το up_threshold και το sampling_down_factor και μετα το reboot αυτα εχουν επανελθει στις αρχικες τους τιμες. Πως γινεται να τα αλλαξω μονιμα ;
sysctl --all
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
(sleep 1 ; echo -n value > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold) &
(sleep 1 ; echo -n value > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor) &
exit 0


