/usr/share/tcos/scripts/tcos-bottom/78cpufreq is in initramfs-tools-tcos 0.89.93ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
quiet=n
. /conf/tcos.conf
if [ "$TCOS_CPUFREQ" = "1" ]; then
modprobe acpi-cpufreq
modprobe cpufreq_powersave
if [ -e /sys/devices/system/cpu/cpu0/cpufreq ]; then
echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
fi
fi
exit 0
|