Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:system_configuration [2021/03/01 21:30] – [sysctl.conf] autostatic | wiki:system_configuration [2022/04/30 19:28] – [QuickScan] autostatic | ||
---|---|---|---|
Line 21: | Line 21: | ||
This way you can restore the original file in the case you made such a typo that the system has become unbootable. The procedure of recovering an unbootable system itself is beyond the scope of this Wiki but there are plenty of resources that explain this in detail. | This way you can restore the original file in the case you made such a typo that the system has become unbootable. The procedure of recovering an unbootable system itself is beyond the scope of this Wiki but there are plenty of resources that explain this in detail. | ||
- | ==== QuickScan | + | ==== rtcqs ==== |
- | The [[https://github.com/raboof/realtimeconfigquickscan|realTimeConfigQuickScan]] script automatically analyzes your current configuration. This script will make configuration suggestions based on your current setup and link to the relevant sections on this page for background information. | + | The [[https://codeberg.org/rtcqs/rtcqs|rtcqs]] script automatically analyzes your current configuration. This script will make configuration suggestions based on your current setup and link to the relevant sections on this page for background information. |
- | To get the script install [[http:// | + | To get the script install [[https:// |
- | git clone git://github.com/raboof/realtimeconfigquickscan.git | + | git clone https://codeberg.org/rtcqs/rtcqs.git |
- | cd realtimeconfigquickscan | + | cd rtcqs |
- | | + | ./rtcqs.py |
- | Discuss this script at the [[http:// | + | Discuss this script at the [[https:// |
==== The kernel ==== | ==== The kernel ==== | ||
Line 252: | Line 252: | ||
You could also add a line to your ''/ | You could also add a line to your ''/ | ||
- | echo -n performance | + | echo -n performance |
+ | |||
+ | Another option is to create a Systemd Unit that does this for you. Example of an audio-setup Unit file, create as / | ||
+ | [Unit] | ||
+ | Description=Prepare system for audio | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/ | ||
+ | RemainAfterExit=yes | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | |||
+ | This will start ''/ | ||
+ | echo 'echo -n performance | tee / | ||
+ | sudo chmod +x / | ||
+ | sudo systemctl enable audio-setup | ||
+ | sudo systemctl start audio-setup | ||
+ | |||
+ | The '' | ||
== Ubuntu == | == Ubuntu == | ||
- | On Ubuntu systems the command in your ''/ | + | On Ubuntu systems the command in your ''/ |
- | sudo update-rc.d | + | sudo systemctl mask ondemand.service |
- | + | ||
- | Another option would be to modify the '' | + | |
- | sudo sed -i ' | + | |
- | sudo update-rc.d ondemand disable | + | |
- | sudo cp / | + | |
- | sudo update-rc.d performance defaults | + | |
== Debian == | == Debian == |