We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d9fbe8 + 4d3835d commit 3f0b159Copy full SHA for 3f0b159
gravity.sh
@@ -326,7 +326,7 @@ function gravity_reload() {
326
#First escape forward slashes in the path:
327
adList=${adList//\//\\\/}
328
#Now replace the line in dnsmasq file
329
- $SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adlist/" /etc/dnsmasq.d/01-pihole.conf
+ $SUDO sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
330
dnsmasqPid=$(pidof dnsmasq)
331
332
find "$piholeDir" -type f -exec $SUDO chmod 666 {} \; & spinner $!
0 commit comments