Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gmbr3:Active
cpupower
cpupower-on-boot.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpupower-on-boot.sh of Package cpupower
#!/bin/sh CPUPOWER_CONFIG="/etc/sysconfig/cpupower" # Read config . "$CPUPOWER_CONFIG" # Governor (cpupower frequency-set) if [ "$CPUPOWER_GOVERNOR" != "default" ]; then cpupower frequency-set -g "$CPUPOWER_GOVERNOR" fi if [ "$CPUPOWER_MINIMUM_FREQ" != "default" ]; then cpupower frequency-set -d "$CPUPOWER_MINIMUM_FREQ" fi if [ "$CPUPOWER_MAXIMUM_FREQ" != "default" ]; then cpupower frequency-set -u "$CPUPOWER_MAXIMUM_FREQ" fi if [ "$CPUPOWER_SPECIFIC_FREQ" != "default" ]; then cpupower frequency-set -f "$CPUPOWER_SPECIFIC_FREQ" fi # Policy (cpupower set) if [ "$CPUPOWER_INTEL_PERF_BIAS" != "default" ]; then cpupower set -b "$CPUPOWER_INTEL_PERF_BIAS" fi if [ "$CPUPOWER_SCHED_MC" != "default" ]; then cpupower set -m "$CPUPOWER_SCHED_MC" fi if [ "$CPUPOWER_SCHED_SMT" != "default" ]; then cpupower set -s "$CPUPOWER_SCHED_SMT" fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor