Closed dcpender closed 5 years ago
sudo wget -O /usr/bin/zram.sh https://raw.githubusercontent.com/novaspirit/rpi_zram/master/zram.sh
sudo chmod +x /usr/bin/zram.sh
sudo sed -i '/exit 0/c\/usr/bin/zram.sh &\nexit 0' /etc/rc.local
reboot
!/bin/bash
ZRAM Config
sudo wget -O /usr/bin/zram.sh https://raw.githubusercontent.com/novaspirit/rpi_zram/master/zram.sh
Make ZRAM Executable
sudo chmod +x /usr/bin/zram.sh
edit /etc/rc.local file to run script on boot
sudo sed -i '/exit 0/c\/usr/bin/zram.sh &\nexit 0' /etc/rc.local
Reboot
reboot