diff options
author | garhve <git@garhve.com> | 2023-02-07 09:24:38 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2023-02-07 09:24:38 +0800 |
commit | d000e5e10923cab2c044cdc5b593f05b6c694012 (patch) | |
tree | 1fff99219e07ab2824da48f5d5bbf68b3fc8ceb4 /bash/update_bt.sh | |
parent | 1d329a455ba14d2dd9951d7b1284f0e7b8feabf6 (diff) |
Diffstat (limited to 'bash/update_bt.sh')
-rwxr-xr-x | bash/update_bt.sh | 4 |
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") |