mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Updated Manual installation (markdown)
parent
17a72406f2
commit
0067e779a9
@ -180,8 +180,8 @@ sudo cp installers/update_blocklist.sh /etc/raspap/adblock/
|
||||
sudo chown -c root:www-data /etc/raspap/adblock/*.*
|
||||
sudo chmod 750 /etc/raspap/adblock/*.sh
|
||||
sudo touch /etc/dnsmasq.d/090_adblock.conf
|
||||
echo "conf-file=$raspap_dir/adblock/domains.txt" | sudo tee -a /etc/dnsmasq.d/090_adblock.conf > /dev/null
|
||||
echo "addn-hosts=$raspap_dir/adblock/hostnames.txt" | sudo tee -a /etc/dnsmasq.d/090_adblock.conf > /dev/null
|
||||
echo "conf-file=/etc/raspap/adblock/domains.txt" | sudo tee -a /etc/dnsmasq.d/090_adblock.conf > /dev/null
|
||||
echo "addn-hosts=/etc/raspap/adblock/hostnames.txt" | sudo tee -a /etc/dnsmasq.d/090_adblock.conf > /dev/null
|
||||
sudo sed -i '/dhcp-option=6/d' /etc/dnsmasq.d/090_raspap.conf
|
||||
sudo sed -i "s/\('RASPI_ADBLOCK_ENABLED', \)false/\1true/g" includes/config.php
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user