mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
commit
edd0b809b7
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ use4andor6(){
|
||||||
useIPv6dialog(){
|
useIPv6dialog(){
|
||||||
piholeIPv6=$(ip -6 route get 2001:4860:4860::8888 | awk -F " " '{ for(i=1;i<=NF;i++) if ($i == "src") print $(i+1) }')
|
piholeIPv6=$(ip -6 route get 2001:4860:4860::8888 | awk -F " " '{ for(i=1;i<=NF;i++) if ($i == "src") print $(i+1) }')
|
||||||
whiptail --msgbox --backtitle "IPv6..." --title "IPv6 Supported" "$piholeIPv6 will be used to block ads." $r $c
|
whiptail --msgbox --backtitle "IPv6..." --title "IPv6 Supported" "$piholeIPv6 will be used to block ads." $r $c
|
||||||
$SUDO mkdir -p /etc/pihole/
|
|
||||||
$SUDO touch /etc/pihole/.useIPv6
|
$SUDO touch /etc/pihole/.useIPv6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -448,7 +448,7 @@ runGravity(){
|
||||||
installPihole(){
|
installPihole(){
|
||||||
checkForDependencies # done
|
checkForDependencies # done
|
||||||
stopServices
|
stopServices
|
||||||
|
$SUDO mkdir -p /etc/pihole/
|
||||||
$SUDO chown www-data:www-data /var/www/html
|
$SUDO chown www-data:www-data /var/www/html
|
||||||
$SUDO chmod 775 /var/www/html
|
$SUDO chmod 775 /var/www/html
|
||||||
$SUDO usermod -a -G www-data pi
|
$SUDO usermod -a -G www-data pi
|
||||||
|
|
Loading…
Reference in a new issue