Remove znc user

This commit is contained in:
Bob Mottram 2016-10-28 16:21:19 +01:00
parent 00fefad2a5
commit d5dfc82c24
1 changed files with 3 additions and 0 deletions

View File

@ -350,6 +350,9 @@ function remove_irc {
remove_completion_param configure_firewall_for_irc
sed -i '/IRC /d' ${COMPLETION_FILE}
sed -i '/znc 2> /d' /etc/crontab
if [ -d /home/znc ]; then
userdel -r znc
fi
}
function configure_firewall_for_irc {