Commit 1750191d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

zram config should be in /etc/zram

parent 801f4290
......@@ -2,5 +2,5 @@ all:
install -m 0755 zramstart /usr/sbin
install -m 0755 zramstop /usr/sbin
install -m 0644 zram.service /lib/systemd/system
install -m 0644 zram /etc/sysconfig
install -m 0644 zram /etc/zram
ln -s /lib/systemd/system/zram.service /etc/systemd/system/multi-user.target.wants/zram.service
#!/bin/sh
FACTOR=66
[ -f /etc/sysconfig/zram ] && source /etc/sysconfig/zram || true
[ -f /etc/zram ] && source /etc/zram || true
factor=$FACTOR # percentage
memtotal=$(grep MemTotal /proc/meminfo | awk ' { print $2 } ')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment