Remove pihole build directory

This commit is contained in:
Bob Mottram 2016-10-30 11:53:47 +00:00
parent 1c499c9ac7
commit fae5804c82
1 changed files with 4 additions and 0 deletions

View File

@ -336,6 +336,10 @@ function remove_pihole {
rm /etc/cron.d/pihole
fi
if [ -d $INSTALL_DIR/pihole ]; then
rm -rf $INSTALL_DIR/pihole
fi
firewall_remove 53
userdel -r pihole
}