add reconfigure flag to -r command

This commit is contained in:
Promofaux
2016-10-15 20:43:03 +01:00
parent 7e10dcdcf0
commit a43577fa26
2 changed files with 19 additions and 4 deletions

4
pihole
View File

@@ -99,7 +99,7 @@ updatePiholeFunc() {
echo "::: Fetching latest changes from GitHub..."
cd /etc/.pihole
git pull origin master
/etc/.pihole/automated\ install/basic-install.sh pihole
/etc/.pihole/automated\ install/basic-install.sh --unattended
echo ":::"
echo "::: Pi-hole has been updated to version ${piholeVersionLatest}"
@@ -114,7 +114,7 @@ updatePiholeFunc() {
}
reconfigurePiholeFunc() {
/etc/.pihole/automated\ install/basic-install.sh
/etc/.pihole/automated\ install/basic-install.sh --reconfigure
exit 0;
}