File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# Works with Debian 13, although atm no scap profile is available as of 27-08-2025
77# Works with Ubuntu 22.04 tls, although scap support needs to be disabled as of 16-12-2025
88
9- SCRIPT_BUILD=" 2026010701 "
9+ SCRIPT_BUILD=" 2026011501 "
1010
1111# Note that all variables can be overridden by kernel arguments
1212# Example: Override BRAND_NAME with kernel argument: NPF_BRAND_NAME=MyBrand
@@ -1637,7 +1637,10 @@ EOF
16371637 if [ " ${CONFIGURE_TUNED} " != false ]; then
16381638 log " Setting up tuned profiles"
16391639
1640- if [ " ${RELEASE} " -eq 10 ]; then
1640+ # RHEL 10 as well as Debian 13 use /etc/tuned/profiles whareas RHEL 8 and 9 use /etc/tuned as profile directory
1641+ if [ " ${FLAVOR} " = " rhel" ] && [ " ${RELEASE} " -ge 10 ]; then
1642+ TUNED_DIR=/etc/tuned/profiles
1643+ elif [ " ${FLAVOR} " = " debian" ] && [ " ${RELEASE} " -ge 13 ]; then
16411644 TUNED_DIR=/etc/tuned/profiles
16421645 else
16431646 TUNED_DIR=/etc/tuned
You can’t perform that action at this time.
0 commit comments