updated ugo's scripts, removed load check on threads, added misc_sorter, and disables all regexes if using ugo's assembler, added script to reactivate all regexes that were deactivated

This commit is contained in:
jonnyboy
2013-03-30 16:32:36 -04:00
parent 9fb09a0c5f
commit 81e8ab99b8
17 changed files with 7092 additions and 7 deletions
+16
View File
@@ -0,0 +1,16 @@
SOURCE="${BASH_SOURCE[0]}"
DIR="$( dirname "$SOURCE" )"
while [ -h "$SOURCE" ]
do
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd $DIR"/../conf"
while read p; do
mysql --defaults-file=my.cnf -uroot newznab -e "update releaseregex set status=1 where status=0 and ID=$p"
done < active_regexes.txt
rm active_regexes.txt