From d000e5e10923cab2c044cdc5b593f05b6c694012 Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 7 Feb 2023 09:24:38 +0800 Subject: showing existing tags and categories --- bash/update_bt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/update_bt.sh') 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") -- cgit v1.2.3-70-g09d2