Skip to content

Commit

Permalink
fix(deck): Correct zram disabling karg
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Nov 11, 2023
1 parent 23bb5cb commit ea5b583
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -320,7 +320,7 @@ zram-on:
ublue-update --wait
KARGS=$(rpm-ostree kargs)
if grep -q 'zram' <<< ${KARGS}; then
rpm-ostree kargs --delete=zram
rpm-ostree kargs --delete=systemd.zram=0
echo 'ZRAM enabled. Please reboot.'
else
echo 'ZRAM is already enabled.'
Expand All @@ -332,7 +332,7 @@ zram-off:
ublue-update --wait
KARGS=$(rpm-ostree kargs)
if grep -qv 'zram' <<< ${KARGS}; then
rpm-ostree kargs --append=zram=0
rpm-ostree kargs --append=systemd.zram=0
echo 'ZRAM disabled. Please reboot.'
else
echo 'ZRAM is already disabled.'
Expand Down

0 comments on commit ea5b583

Please sign in to comment.