cat << EOF | sudo tee /etc/systemd/system/powertop.service
[Unit]
Description=PowerTOP auto tune
[Service]
Type=idle
Environment="TERM=dumb"
ExecStart=/usr/sbin/powertop --auto-tune
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # SIMPLE PID GUARD: Exit if this script is already running elsewhere | |
| if [ $(pgrep -f "$(basename "$0")" | wc -l) -gt 1 ]; then | |
| echo "Already running" | |
| exit 0 | |
| fi | |
| PFB_DIR="/var/db/pfblockerng" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/sh | |
| docker network create -d macvlan \ | |
| --subnet=10.255.0.0/16 --gateway=10.255.0.1 \ | |
| --ipv6 \ | |
| --subnet=fd00:abba::/32 --gateway=fd00:abba::1 \ | |
| -o parent=ens18 \ | |
| -o macvlan_mode=bridge firewall-macvlan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copy this file to /etc/systemd/system/ and run `systemctl enable uosserver-healthcheck` | |
| [Unit] | |
| Description=Unifi UOS Server Healthcheck | |
| After=uosserver.service | |
| [Service] | |
| Type=oneshot | |
| ExecStartPre=/bin/sleep 30s | |
| ExecStart=/bin/uosserver-healthcheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This enabled the power settings present in the script | |
| # >> Skip this file for unRAID, since it does not use systemd << | |
| # Put this file in /etc/systemd/system/power.service | |
| # Then manually run it, 'systemctl start power' | |
| # Check the output with 'systemctl status power' | |
| # Then enable it with 'systemctl enable power' | |
| [Unit] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This prevents the freeze with the message 'e1000e eno1: Detected Hardware Unit Hang' | |
| # >> Skip this file for unRAID, since it does not use systemd << | |
| # Put this file in /etc/systemd/system/disable-nic-offload-e1000e.service | |
| # Then manually run it, 'systemctl start disable-nic-offload-e1000e' | |
| # Check the output with 'systemctl status disable-nic-offload-e1000e' | |
| # Then enable it with 'systemctl enable disable-nic-offload-e1000e' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Powertop tunings | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/powertop --auto-tune | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Powertop tunings | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=no | |
| ExecStart=/usr/bin/powertop --auto-tune | |
| #"powertop --auto-tune" still needs a terminal for some reason. | |
| #Possibly a bug? | |
| Environment="TERM=xterm" |
1G1R Commands for 1G1R ROM Set Generator
Additional ROMs are excluded if they meet any of the following criteria:
- Non-Game (Program, Tester, Greeting Card, Music Album, etc...)
- Bundle (2+ games in one ROM where a single version already exists)
Note: This list is currently a work-in-progress.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is useful for those who want to have KODI running on startup, but still want to use a full desktop (e.g. Raspbian). | |
| # This will make KODI run as soon as the graphical interface (be it X or Wayland) starts up and the user logs in | |
| # It will only start KODI after the network and remote shares have been started up | |
| [Unit] | |
| Description = Kodi Media Center | |
| After = remote-fs.target network-online.target graphical.target | |
| Wants = graphical.target | |
| [Service] | |
| User = pi |
NewerOlder