Remove pihole build directory
This commit is contained in:
parent
1c499c9ac7
commit
fae5804c82
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue