Move the kernel power change printf under bootverbose since the
power_profile script now duplicates the message via syslog.
This commit is contained in:
parent
dfffd5d472
commit
44bb5f52d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124079
@ -96,8 +96,11 @@ power_profile_set_state(int state)
|
||||
if (state != power_profile_state) {
|
||||
power_profile_state = state;
|
||||
changed = 1;
|
||||
printf("system power profile changed to '%s'\n",
|
||||
(state == POWER_PROFILE_PERFORMANCE) ? "performance" : "economy");
|
||||
if (bootverbose) {
|
||||
printf("system power profile changed to '%s'\n",
|
||||
(state == POWER_PROFILE_PERFORMANCE) ?
|
||||
"performance" : "economy");
|
||||
}
|
||||
} else {
|
||||
changed = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user