Add more networks to bouncer
This commit is contained in:
parent
97efafc2da
commit
193a7366b1
|
@ -117,6 +117,7 @@ function add_user_irc_bouncer {
|
|||
echo " Salt = ${ZNC_SALT}" >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' </Pass>' >> /home/znc/.znc/configs/znc.conf
|
||||
echo " Admin = ${is_admin}" >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' Allow = *' >> /home/znc/.znc/configs/znc.conf
|
||||
echo " Nick = ${new_username}" >> /home/znc/.znc/configs/znc.conf
|
||||
echo " AltNick = ${new_username}_" >> /home/znc/.znc/configs/znc.conf
|
||||
echo " Ident = ${new_username}" >> /home/znc/.znc/configs/znc.conf
|
||||
|
@ -127,12 +128,9 @@ function add_user_irc_bouncer {
|
|||
echo '' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = controlpanel' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = perform' >> /home/znc/.znc/configs/znc.conf
|
||||
echo '' >> /home/znc/.znc/configs/znc.conf
|
||||
echo " <Network ${PROJECT_NAME}>" >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = keepnick' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = perform' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf
|
||||
echo '' >> /home/znc/.znc/configs/znc.conf
|
||||
echo " Server = ${DEFAULT_DOMAIN_NAME} +${IRC_PORT}" >> /home/znc/.znc/configs/znc.conf
|
||||
|
@ -141,6 +139,25 @@ function add_user_irc_bouncer {
|
|||
echo " <Chan ${PROJECT_NAME}>" >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' </Chan>' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' </Network>' >> /home/znc/.znc/configs/znc.conf
|
||||
|
||||
echo ' <Network oftc>'
|
||||
echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' FloodBurst = 4' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' FloodRate = 1.00' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' IRCConnectEnabled = true' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' Server = irc.oftc.net 6697' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' </Network>' >> /home/znc/.znc/configs/znc.conf
|
||||
|
||||
echo ' <Network freenode>' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = chansaver' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' FloodBurst = 4' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' FloodRate = 1.00' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' IRCConnectEnabled = true' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' Server = irc.freenode.net 6697' >> /home/znc/.znc/configs/znc.conf
|
||||
echo ' </Network>' >> /home/znc/.znc/configs/znc.conf
|
||||
|
||||
echo '</User>' >> /home/znc/.znc/configs/znc.conf
|
||||
|
||||
mkdir -p /home/znc/.znc/users/${new_username}/moddata
|
||||
|
|
Loading…
Reference in New Issue