修改url

This commit is contained in:
chenpt 2023-10-07 14:30:04 +08:00
parent e29de0a98d
commit 136b13e449
5 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@
# Description: qb辅助函数
function qb_install() {
wget -O "/usr/bin/$1" "https://code.shutu.site/shutu/seedbox/raw/branch/main/qb-nox/$1" && chmod +x "/usr/bin/$1"
wget -O "/usr/bin/$1" "https://git.chenpt.cn/Seedbox/seedbox/raw/branch/main/qb-nox/$1" && chmod +x "/usr/bin/$1"
mv /usr/bin/$1 /usr/bin/qbittorrent-nox
qb_version=$1
@ -57,7 +57,7 @@ WebUI\Username=$2
WebUI\CSRFProtection=false
EOF
elif [[ "$1" =~ "qb-nox-static-43" ]]; then
cd /home/$2 && wget https://code.shutu.site/shutu/Seedbox-Components/raw/branch/main/Torrent%20Clients/qBittorrent/qb_password_gen && chmod +x /home/$2/qb_password_gen
cd /home/$2 && wget https://git.chenpt.cn/Seedbox/Seedbox-Components/raw/branch/main/Torrent%20Clients/qBittorrent/qb_password_gen && chmod +x /home/$2/qb_password_gen
PBKDF2password=$(/home/$2/qb_password_gen $3)
cat << EOF >/home/$2/.config/qBittorrent/qBittorrent.conf
[LegalNotice]

View File

@ -92,8 +92,8 @@ function vnstat_update() {
function bbrx_install() {
echo -e "\033[36m ================= 杰佬 Tweaked BBR Install ================= \033[0m"
. <(wget -qO- https://code.shutu.site/shutu/Seedbox-Components/raw/branch/main/Miscellaneous/tput.sh)
. <(wget -qO- https://code.shutu.site/shutu/Seedbox-Components/raw/branch/main/tweaking.sh)
. <(wget -qO- https://git.chenpt.cn/Seedbox/Seedbox-Components/raw/branch/main/Miscellaneous/tput.sh)
. <(wget -qO- https://git.chenpt.cn/Seedbox/Seedbox-Components/raw/branch/main/tweaking.sh)
apt-get -qqy install sudo
cd ~
CPU_Tweaking; NIC_Tweaking; Network_Other_Tweaking; Scheduler_Tweaking; file_open_limit_Tweaking; kernel_Tweaking;
@ -102,7 +102,7 @@ function bbrx_install() {
function boot_script() {
echo -e "\033[36m ================= 杰佬 boot-script ================= \033[0m"
wget https://code.shutu.site/shutu/Seedbox-Components/raw/branch/main/Miscellaneous/.boot-script.sh && chmod +x .boot-script.sh
wget https://git.chenpt.cn/Seedbox/Seedbox-Components/raw/branch/main/Miscellaneous/.boot-script.sh && chmod +x .boot-script.sh
cat << EOF > /etc/systemd/system/boot-script.service
[Unit]
Description=boot-script

View File

@ -14,13 +14,13 @@ port=$(($RANDOM+30000))
mkdir -p ~/bin
mkdir -p ~/private/qBittorrent/data
wget https://code.shutu.site/shutu/seedbox/raw/branch/main/qb-nox/qb-nox-static-438-lt1214-oracle
wget https://git.chenpt.cn/Seedbox/seedbox/raw/branch/main/qb-nox/qb-nox-static-438-lt1214-oracle
mv qb-nox-static-438-lt1214-oracle qbittorrent-nox
mv qbittorrent-nox ~/bin/
chmod +x ~/bin/qbittorrent-nox
mkdir -p ~/.config/qBittorrent
cd ~ && wget https://code.shutu.site/shutu/Seedbox-Components/raw/branch/main/Torrent%20Clients/qBittorrent/qb_password_gen && chmod +x ~/qb_password_gen
cd ~ && wget https://git.chenpt.cn/Seedbox/Seedbox-Components/raw/branch/main/Torrent%20Clients/qBittorrent/qb_password_gen && chmod +x ~/qb_password_gen
PBKDF2password=$(~/qb_password_gen $password)
cat << EOF >~/.config/qBittorrent/qBittorrent.conf
[LegalNotice]

View File

@ -38,7 +38,7 @@ read num
echo -ne "install \033[35m${versions[$num]}\033[0m , press Ctrl + C to exit."
read
. <(wget -qO- https://code.shutu.site/shutu/seedbox/raw/branch/main/component/qb_component.sh)
. <(wget -qO- https://git.chenpt.cn/Seedbox/seedbox/raw/branch/main/component/qb_component.sh)
qb_install ${versions[$num]} $username

View File

@ -28,7 +28,7 @@ do
esac
done
. <(wget -qO- https://code.shutu.site/shutu/seedbox/raw/branch/main/component/seedbox_component.sh)
. <(wget -qO- https://git.chenpt.cn/Seedbox/seedbox/raw/branch/main/component/seedbox_component.sh)
# create user
if [[ ! -d "/home/$username" ]]; then
@ -40,7 +40,7 @@ apt_install
# qb install
echo -e "\033[36m ================= qb-nox安装 ================= \033[0m"
. <(wget -qO- https://code.shutu.site/shutu/seedbox/raw/branch/main/shell/qb-nox-static.sh)
. <(wget -qO- https://git.chenpt.cn/Seedbox/seedbox/raw/branch/main/shell/qb-nox-static.sh)
# acme nginx
nginx_install $domain $webport $dns_type $dns_id $dns_key $dns_secret