1
0
Fork 0

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:
Ondřej Lysoněk 2019-03-05 10:20:05 +01:00
parent a484c644c5
commit 054e24d451

View file

@ -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
"""