From be609d9e209e07f2215cb381e462098a8bdf7840 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Mon, 24 Jun 2024 01:53:17 +0300 Subject: [PATCH] Update change_scx.sh --- data/scripts/change_scx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/scripts/change_scx.sh b/data/scripts/change_scx.sh index fa5f351..06ba854 100755 --- a/data/scripts/change_scx.sh +++ b/data/scripts/change_scx.sh @@ -4,7 +4,7 @@ if [[ "$1" == "scx_disabled" ]]; then systemctl stop scx & systemctl disable scx else set -e - sed -i 's/SCX_SCHEDULER=.*/SCX_SCHEDULER="$1"/' /etc/default/scx + sed -i "s/SCX_SCHEDULER=.*/SCX_SCHEDULER="$1"/" /etc/default/scx systemctl enable --now scx systemctl restart scx fi \ No newline at end of file