Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax to add item in config file -- PARAMETER+="value" #457

Closed
ycheng opened this issue Jan 31, 2020 · 2 comments
Closed

Syntax to add item in config file -- PARAMETER+="value" #457

ycheng opened this issue Jan 31, 2020 · 2 comments

Comments

@ycheng
Copy link

ycheng commented Jan 31, 2020

The new feature in 1.3 beta4 to put configs in /etc/tlp.d is brilliant!

However, for parameters like RUNTIME_PM_DRIVER_BLACKLIST, it will be useful if we can append value.

For example, we might want to add a driver to the blacklist without touch the existing list.

Syntax like one of the following works for me:

RUNTIME_PM_DRIVER_BLACKLIST+="ath10k"
RUNTIME_PM_DRIVER_BLACKLIST="$RUNTIME_PM_DRIVER_BLACKLIST ath10k"

Thank you!

@ycheng ycheng changed the title Syntax to add item in config file Syntax to add item in config file [1.3 beta4] Jan 31, 2020
@linrunner
Copy link
Owner

Thanks. I'll consider this for 1.4.

@linrunner linrunner added this to the 1.4 Release milestone Jan 31, 2020
linrunner added a commit that referenced this issue Nov 17, 2020
The syntax PARAMETER+="add values" appends to a parameter
already defined as intrinsic default or in a *previously*
read file.

Reference:
* #457
@linrunner
Copy link
Owner

What lasts long will finally be good ... done.

Please test and report – with tlp-stat output please.

@linrunner linrunner changed the title Syntax to add item in config file [1.3 beta4] Syntax to add item in config file -- PARAMETER+="value" Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants