PINE64

Full Version: Setup power profile from nvme bootscript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
[Unit]
Description=Set nvme powersave
ConditionPathExists=/dev/nvme0

[Service]
Type=oneshot
ExecStart=/usr/sbin/nvme set-feature /dev/nvme0 -f 2 -v 2
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target
put this into /etc/systemd/system/nvme.service

and run systemd enable nvme
x (x)

#ir-ext-ui { position: fixed; padding: 1px; z-index: 9999; display: none; font-family: Consolas, "Lucida Console", "Courier New", Courier, monospace; text-align: right; }
Thanks for writing this up. Please consider adding this to the wiki as well.

Should this be OS-agnostic, or is it geared toward use on a specific OS?

Moving to Tutorials.
I've written it on ubuntu bionic but should be os agnostic