mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Update basic-install.sh
This commit is contained in:
parent
8718321727
commit
d15a085dd0
1 changed files with 7 additions and 5 deletions
|
@ -8,6 +8,8 @@
|
||||||
#
|
#
|
||||||
# Or run the commands below in order
|
# Or run the commands below in order
|
||||||
|
|
||||||
|
pihole_gitsource=https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo " _____ _ _ _ "
|
echo " _____ _ _ _ "
|
||||||
echo " | __ (_) | | | | "
|
echo " | __ (_) | | | | "
|
||||||
|
@ -59,14 +61,14 @@ echo "Backing up original config files and downloading Pi-hole ones..."
|
||||||
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
|
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
|
||||||
sudo mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
|
sudo mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
|
||||||
sudo mv /var/www/index.lighttpd.html /var/www/index.lighttpd.orig
|
sudo mv /var/www/index.lighttpd.html /var/www/index.lighttpd.orig
|
||||||
sudo curl -o /etc/dnsmasq.conf "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/dnsmasq.conf"
|
sudo curl -o /etc/dnsmasq.conf $pihole_gitsource./advanced/dnsmasq.conf
|
||||||
sudo curl -o /etc/lighttpd/lighttpd.conf "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/lighttpd.conf"
|
sudo curl -o /etc/lighttpd/lighttpd.conf $pihole_gitsource./advanced/lighttpd.conf
|
||||||
sudo mkdir /var/www/pihole
|
sudo mkdir /var/www/pihole
|
||||||
sudo curl -o /var/www/pihole/index.html "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/index.html"
|
sudo curl -o /var/www/pihole/index.html $pihole_gitsource./advanced/index.html
|
||||||
|
|
||||||
echo "Locating the Pi-hole..."
|
echo "Locating the Pi-hole..."
|
||||||
sudo curl -o /usr/local/bin/gravity.sh "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh"
|
sudo curl -o /usr/local/bin/gravity.sh $pihole_gitsource./gravity.sh
|
||||||
sudo curl -o /usr/local/bin/chronometer.sh "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/chronometer.sh"
|
sudo curl -o /usr/local/bin/chronometer.sh $pihole_gitsource./advanced/Scripts/chronometer.sh
|
||||||
sudo chmod 755 /usr/local/bin/gravity.sh
|
sudo chmod 755 /usr/local/bin/gravity.sh
|
||||||
sudo chmod 755 /usr/local/bin/chronometer.sh
|
sudo chmod 755 /usr/local/bin/chronometer.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue