34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# scripts
|
|
|
|
Colección de scripts para automatizar tareas en Debian.
|
|
## ifaces.sh
|
|
Añade dirección ip de los interfaces de red físicos a la pantalla de inicio de sesión
|
|
|
|
```curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/ifaces.sh | bash```
|
|
|
|
```curl -sL https://avc.cx/ifaces | bash ```
|
|
|
|
## test_dns.sh
|
|
Bash script to test speed of DNS queries. It does it digging some servers.
|
|
|
|
```curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/test_dns.sh | bash```
|
|
|
|
## vnstati.sh
|
|
Script to send vnstati graph to mail. Can be executed as cronjob (recommended). Dont forget to change mailfrom and mail-to
|
|
|
|
## adblock_test.sh
|
|
Command-line tool to test if a DNS server blocks ads (e.g. pihole). You can specify another DNS server (by default it reads entries from resolv.conf).
|
|
|
|
```curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/adblock_test.sh | bash```
|
|
|
|
Execute with a custom DNS server:
|
|
|
|
```curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/adblock_test.sh | bash -s -- 1.1.1.1```
|
|
|
|
## new.sh
|
|
|
|
```curl -sSL https://avc.cx/new | bash```
|
|
|
|
If ```curl``` is not available, try with ```wget```
|
|
|
|
```wget -q -O- https://avc.cx/new | bash``` |