mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-12 02:41:02 +01:00
Set dns to 8.8.8.8 for qbittorrent
This commit is contained in:
8
qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh
Normal file
8
qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
###############
|
||||
# DNS SETTING #
|
||||
###############
|
||||
|
||||
printf "nameserver 8.8.8.8 1.1.1.1" > /etc/resolv.conf
|
||||
chmod 644 /etc/resolv.conf
|
||||
Reference in New Issue
Block a user