mirror of
https://github.com/milleruk/adguard-filter-list.git
synced 2025-06-15 10:23:40 +00:00
first commit
This commit is contained in:
15
script.sh
Executable file
15
script.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /home/adguard-filter-list
|
||||
|
||||
# Create compiled blocklist
|
||||
time /usr/local/bin/hostlist-compiler -v -c hostlist-compiler-config.json -o blocklist
|
||||
|
||||
# Date and time
|
||||
currentDate=`/bin/date '+%Y-%m-%d'`
|
||||
currentTime=`/bin/date '+%H:%M:%S'`
|
||||
|
||||
# Push it to GitHub
|
||||
#git add *
|
||||
#git commit -m "Blocklist update ${currentDate} ${currentTime}"
|
||||
#git push
|
Reference in New Issue
Block a user