Remove znc user
This commit is contained in:
parent
00fefad2a5
commit
d5dfc82c24
|
@ -350,6 +350,9 @@ 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
|
||||||
|
if [ -d /home/znc ]; then
|
||||||
|
userdel -r znc
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_firewall_for_irc {
|
function configure_firewall_for_irc {
|
||||||
|
|
Loading…
Reference in New Issue