fixing restart_services
This commit is contained in:
@@ -5,7 +5,7 @@ echo 'zram' | sudo tee /etc/modules-load.d/zram.conf
|
||||
sudo touch /etc/modprobe.d/zram.conf
|
||||
echo 'options zram num_devices=1' | sudo tee /etc/modprobe.d/zram.conf
|
||||
sudo touch /etc/udev/rules.d/99-zram.rules
|
||||
echo 'KERNEL=="zram0", ATTR{disksize}="4G",TAG+="systemd"' \
|
||||
echo 'KERNEL=="zram0", ATTR{disksize}="2G",TAG+="systemd"' \
|
||||
| sudo tee /etc/udev/rules.d/99-zram.rules
|
||||
sudo touch /etc/systemd/system/zram.service
|
||||
echo "Installing zram.service"
|
||||
|
||||
Reference in New Issue
Block a user