diff options
author | Kyle K <kylek389@gmail.com> | 2021-02-12 13:06:44 -0600 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2021-02-12 13:06:44 -0600 |
commit | 139442d1b6b9e8787e163bdcbbec8b367a3f9e90 (patch) | |
tree | d8573eee04734d498d1ac7edd428fad3a51a0737 /install.sh | |
parent | 9f9a1495dd54589613a144ef89a018b6195a1226 (diff) | |
download | gentoox-139442d1b6b9e8787e163bdcbbec8b367a3f9e90.tar.gz gentoox-139442d1b6b9e8787e163bdcbbec8b367a3f9e90.tar.bz2 gentoox-139442d1b6b9e8787e163bdcbbec8b367a3f9e90.zip |
more wip
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -197,6 +197,14 @@ echo '#!/bin/bash cpupower frequency-set -g performance' > /etc/local.d/my.start chmod +x /etc/local.d/my.start +touch /swapfile +chattr +C /swapfile +dd if=/dev/zero of=/swapfile count=512 bs=1MiB +chmod 600 /swapfile +mkswap -L MYSWAP /swapfile +echo '/swapfile none swap sw 0 0' >> /etc/fstab +echo 'vm.swappiness=10' >> /etc/sysctl.d/local.conf + yes $rootpassword | passwd root if [[ $username != "gentoox" ]]; then usermod --login $username --move-home --home /home/$username gentoox |