Merge pull request #1048 from pi-hole/tweak/simplify_webpage.sh

Major simplification of webpage.sh + extend DHCP to IPv6
This commit is contained in:
Adam Warner 2017-01-02 14:28:26 +00:00 committed by GitHub
commit 12bec1df68
3 changed files with 188 additions and 128 deletions

3
pihole
View file

@ -23,7 +23,8 @@ if [[ ! $EUID -eq 0 ]];then
fi
webpageFunc() {
/opt/pihole/webpage.sh "$@"
source /opt/pihole/webpage.sh
main "$@"
exit 0
}