powertop2tuned: Use ${i:PROFILE_DIR} in the generated profile
Since commit cd4943bdbf, it is recommended to use ${i:PROFILE_DIR}
in paths to scripts, in order to make the paths absolute. So let's make
the profile generated by powertop2tuned conform to that recommendation.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
parent
a484c644c5
commit
054e24d451
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ TUNED_CONF_INCLUDE = """[main]
|
|||
TUNED_CONF_EPILOG="""\n[powertop_script]
|
||||
type=script
|
||||
replace=1
|
||||
script=script.sh
|
||||
script=${i:PROFILE_DIR}/script.sh
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue