Stop irc bouncer on irc remove
This commit is contained in:
parent
ab19c7b9f9
commit
7adbd67afa
|
@ -386,6 +386,7 @@ function remove_irc {
|
||||||
remove_completion_param configure_firewall_for_irc
|
remove_completion_param configure_firewall_for_irc
|
||||||
sed -i '/IRC /d' ${COMPLETION_FILE}
|
sed -i '/IRC /d' ${COMPLETION_FILE}
|
||||||
sed -i '/znc 2> /d' /etc/crontab
|
sed -i '/znc 2> /d' /etc/crontab
|
||||||
|
stop_irc_bouncer
|
||||||
if [ -d /home/znc ]; then
|
if [ -d /home/znc ]; then
|
||||||
userdel -r znc
|
userdel -r znc
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue