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/bash | |
| # | |
| # Calculate ratio per day for torrents managed by transmission-daemon | |
| # Adds a lock emoji for private tracker torrents. | |
| # | |
| set -euo pipefail | |
| TR_CMD="transmission-remote" |
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
| # Running: | |
| # curl https://lstu.fr/mub -L | sh | |
| apt install python3 | |
| useradd -m ansible | |
| echo "ansible ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/ansible | |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN/ffsz9WW7KQjUF03q+Wv9oJy8RkqexXko7RtOFLVTm ansible" >> /home/ansible/.ssh/authorized_keys |