We have a graceful fallback handling now, so we don't need the CFS fallback anymore. However, we want to exit when _nofallback is enabled, so restore that.
Thanks to Pedro for reporting 🐸
This commit is contained in:
parent
d125981197
commit
409f1016be
@ -202,11 +202,15 @@ _tkg_initscript() {
|
|||||||
echo "_cpusched=\"$_cpusched\"" > "${_path}"/cpuschedset
|
echo "_cpusched=\"$_cpusched\"" > "${_path}"/cpuschedset
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$_nofallback" != "true" ] && ! [[ ${_CPUSCHEDVARARRAY[*]} =~ "$_cpusched" ]]; then
|
if ! [[ ${_CPUSCHEDVARARRAY[*]} =~ "$_cpusched" ]]; then
|
||||||
warning "Your cpusched selection ( $_cpusched ) is not available for the selected kernel version. Please select another:"
|
warning "Your cpusched selection ( $_cpusched ) is not available for the selected kernel version."
|
||||||
_cpuschedselector
|
if [ "$_nofallback" = "true" ]; then
|
||||||
elif [ "$_nofallback" = "true" ]; then
|
warning "Since _nofallback is enabled, let's exit..."
|
||||||
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
|
exit 1
|
||||||
|
else
|
||||||
|
warning "Please select another:"
|
||||||
|
_cpuschedselector
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user