mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Update omr-admin, fix Pi-Hole install, optimize OpenVPN
This commit is contained in:
parent
c0af37c0c2
commit
c708189fb9
4 changed files with 21 additions and 16 deletions
|
@ -31,7 +31,7 @@ $SERVER["socket"] == "10.255.252.1:80" { }
|
|||
$SERVER["socket"] == "10.255.251.1:80" { }
|
||||
$SERVER["socket"] == "10.255.253.1:80" { }
|
||||
EOF
|
||||
systemctl -q restart lighttpd
|
||||
systemctl list-unit-files lighttpd.service &>/dev/null && systemctl -q restart lighttpd
|
||||
grep -v -e PIHOLE_INTERFACE -e IPV4_ADDRESS -e IPV6_ADDRESS /etc/pihole/setupVars.conf > /etc/pihole/setupVars.new.conf
|
||||
mv /etc/pihole/setupVars.new.conf /etc/pihole/setupVars.conf
|
||||
cat >> /etc/pihole/setupVars.conf <<-EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue