Fixed a boot-time warning/error on zram-config

This commit is contained in:
David Carley
2022-09-07 19:41:44 +00:00
parent f91dc1d756
commit be4110e679

View File

@@ -113,6 +113,8 @@ if [ ! -e /usr/local/sbin/zram-config ]; then
sed -i -E 's/^(swap.*)150\s*$/\1100/' /etc/ztab
sed -i -E 's/^(log.*)$/#\1/' /etc/ztab
sed -i -E 's/^Type=exec$/Type=simple/' /etc/systemd/system/zram-config.service
systemctl restart zram-config
rm -rf /tmp/zram-config