more scripts and configs

This commit is contained in:
2024-07-14 13:52:00 +03:00
parent 99263d1882
commit 0b8df0f42a
9 changed files with 138 additions and 0 deletions

12
scripts/opt_etc/crontab Normal file
View File

@@ -0,0 +1,12 @@
SHELL=/opt/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin:/opt/sbin
MAILTO=""
HOME=/
# ---------- ---------- Default is Empty ---------- ---------- #
*/1 * * * * root /opt/bin/run-parts /opt/etc/cron.1min
*/5 * * * * root /opt/bin/run-parts /opt/etc/cron.5mins
01 * * * * root /opt/bin/run-parts /opt/etc/cron.hourly
02 4 * * * root /opt/bin/run-parts /opt/etc/cron.daily
22 4 * * 0 root /opt/bin/run-parts /opt/etc/cron.weekly
42 4 1 * * root /opt/bin/run-parts /opt/etc/cron.monthly
*/30 * * * * root /opt/bin/apply_unblock_rules.sh 2>&1 >> /opt/var/log/cron && date >> /opt/var/log/cron

View File

@@ -0,0 +1,20 @@
user=nobody
bogus-priv
no-negcache
clear-on-reload
bind-dynamic
listen-address=192.168.0.1
listen-address=127.0.0.1
min-port=4096
cache-size=1536
expand-hosts
log-async
#log-queries
#log-facility=/var/log/dnsmasq.log
#addn-hosts=/etc/hosts
conf-file=/opt/etc/unblock.dnsmasq
conf-file=/opt/etc/its-domains.conf
conf-file=/opt/etc/hl-domains.dnsmasq
conf-file=/opt/etc/dnsmasq.themoviedb.conf
server=8.8.8.8

View File

@@ -0,0 +1,9 @@
address=/jf.venya.tech/192.168.0.104
address=/js.venya.tech/192.168.0.104
address=/h.venya.tech/192.168.0.104
address=/ci.venya.tech/192.168.0.104
address=/bt.venya.tech/192.168.0.104
address=/outline.venya.tech/192.168.0.104
address=/cockpit.venya.tech/192.168.0.104
address=/npm.venya.tech/192.168.0.104
address=/photo.venya.tech/192.168.0.104