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 | |
| # | |
| # This Script is by Razuuu | |
| # | |
| # Initialize variables with default values | |
| SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" | |
| DEVICE="" | |
| BUILD_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
| #!/bin/bash | |
| # See https://rspamd.com/downloads.html | |
| apt update | |
| apt-get install sudo | |
| sudo apt-get install -y lsb-release wget gpg | |
| CODENAME=`lsb_release -c -s` | |
| if [ $CODENAME = "trixie" ]; then | |
| CODENAME="bookworm" | |
| fi |
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 | |
| # ------------------------------------------------------ | |
| # Functions - Common | |
| # ------------------------------------------------------ | |
| domain=$1 | |
| domainpath0="/etc/nginx/sites-available/${domain,,}" | |
| domainpath1="/etc/nginx/sites-enabled/${domain,,}" | |
| logpath="/var/log/nginx/${domain,,}" |
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 | |
| # ------------------------------------------------------ | |
| # Functions - Common | |
| # ------------------------------------------------------ | |
| DOMAIN="$1" | |
| shift | |
| # See https://certbot-dns-rfc2136.readthedocs.io/en/stable/ for certbot.ini |
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 | |
| # Debian Repository not available for forky (yet) | |
| DISTRO=$(dpkg --status tzdata|grep Provides|cut -f2 -d'-') | |
| if [ "${DISTRO}" == "forky" ]; then DISTRO="bookworm"; fi | |
| # Install dependencies | |
| apt update | |
| apt install apt-transport-https ca-certificates curl -y |
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 | |
| for i in update upgrade dist-upgrade full-upgrade autoremove; do | |
| repeat(){ for j in {1..25}; do echo -n "#"; done } | |
| repeat; echo -e "\n\nexecuting command: apt -y ${i}\n"; repeat; echo | |
| apt -y ${i} | |
| done |
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
| test |
NewerOlder