diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 1368bd1..f5eae3a 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -277,7 +277,8 @@ _set_cpu_scheduler() { elif [ "$_kver" = "519" ]; then _avail_cpu_scheds=("cfs" "pds" "bmq" "cacule" "tt" "bore") elif [ "$_kver" = "600" ]; then - _avail_cpu_scheds=("cfs" "tt" "bore") + _avail_cpu_scheds=("cfs" "pds" "bmq" "tt" "bore") + _projectc_unoff="1" elif [ "$_kver" = "601" ]; then _avail_cpu_scheds=("cfs" "bore") else @@ -296,7 +297,11 @@ _set_cpu_scheduler() { # Populate descriptions of the available CPU schedulers _avail_cpu_scheds_text=() for _sched in "${_avail_cpu_scheds[@]}"; do - _avail_cpu_scheds_text+=("${_sched_description_array[$_sched]}") + if [ "$_sched" = "pds" ] || [ "$_sched" = "bmq" ] && [ "$_projectc_unoff" = "1" ]; then + _avail_cpu_scheds_text+=("Project C / ${_sched^^} (unofficial port - ! possibly unstable !)") + else + _avail_cpu_scheds_text+=("${_sched_description_array[$_sched]}") + fi done if ! [[ ${_avail_cpu_scheds[*]} =~ "$_cpusched" ]]; then