summaryrefslogtreecommitdiff
path: root/bash/update_bt.sh
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2023-02-07 09:24:38 +0800
committergarhve <git@garhve.com>2023-02-07 09:24:38 +0800
commitd000e5e10923cab2c044cdc5b593f05b6c694012 (patch)
tree1fff99219e07ab2824da48f5d5bbf68b3fc8ceb4 /bash/update_bt.sh
parent1d329a455ba14d2dd9951d7b1284f0e7b8feabf6 (diff)
showing existing tags and categoriesHEADmain
Diffstat (limited to 'bash/update_bt.sh')
-rwxr-xr-xbash/update_bt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/update_bt.sh b/bash/update_bt.sh
index 5023308..6213d87 100755
--- a/bash/update_bt.sh
+++ b/bash/update_bt.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-site=https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt
+site="https://cdn.jsdelivr.net/gh/ngosang/trackerslist@master/trackers_all.txt"
file=/home/pi/aria2-config/aria2.conf
@@ -10,4 +10,4 @@ current="bt-tracker=$(curl $site | tr -s '[:space:]' | tr '[:space:]' ',')"
#sshpass -p 'cctv7701' ssh -T $Addr "sed -i 's|$(grep -A 1 bt-trackers $file)|'\"${current}\"'|' $file"
-$(sshpass -p 'cctv7701' ssh -T $Addr "sed -i '410d' $file | echo $current >> $file")
+$(sshpass -p 'Ilikeapplepi' ssh -T $Addr "sed -i '410d' $file | echo $current >> $file")