Skip to content

Commit

Permalink
Update on_boot.sh (#11)
Browse files Browse the repository at this point in the history
The docker creation points to adguardhome and is case sensitive.  So either changing the docker example or this line will allow the script to launch adguard on boot successfully.
  • Loading branch information
stitchless authored Jun 27, 2020
1 parent c6c5464 commit 27b8b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdguardHome/udm-files/on_boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ip link set br5.mac up

ip route add 10.0.5.3/32 dev br5.mac
#Remove the # on the line below when Docker container is deployed.
#podman start AdguardHome
#podman start adguardhome

# Uncomment and adjust these rules if you want to use DNAT to force DNS to this container.
# iptables -t nat -C PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3 || iptables -t nat -A PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3
Expand Down

0 comments on commit 27b8b66

Please sign in to comment.