diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-03 23:16:15 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-03 23:17:08 -0400 |
commit | a0b1b95229c647a260c710d2f5556c0d9ff35075 (patch) | |
tree | 1c7bbd8453c5cfc76fc64361bfc8534bf78c90b9 | |
parent | 4905d52cf59ee4f9ea5c7a90cc1b2309127aaad6 (diff) |
systemctl enable moved and powertop.service added
powertop.service autotunes everything on boot, and systemctl enable
had to be moved to accomodate its "late" addition.
-rwxr-xr-x | build.sh | 3 | ||||
-rw-r--r-- | services | 1 | ||||
-rw-r--r-- | src/etc/systemd/system/powertop.service | 10 |
3 files changed, 12 insertions, 2 deletions
@@ -5,8 +5,6 @@ if [ ! -e work/pacman ]; then touch work/pacman sed 's:#.*$::' packages | xargs pacman -Syu --needed --noconfirm fi -sed 's:#.*$::' services | xargs systemctl enable - ip link export USE=czar @@ -29,3 +27,4 @@ sh source.sh grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg mkinitcpio -P +sed 's:#.*$::' services | xargs systemctl enable @@ -5,3 +5,4 @@ avahi-daemon wpa_supplicant@wlp3s0 bluetooth tlp +powertop diff --git a/src/etc/systemd/system/powertop.service b/src/etc/systemd/system/powertop.service new file mode 100644 index 0000000..d9311c0 --- /dev/null +++ b/src/etc/systemd/system/powertop.service @@ -0,0 +1,10 @@ +[Unit] +Description=Powertop Tuning + +[Service] +Type=exec +ExecStart=/usr/bin/powertop --auto-tune +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target |