no onion server for irc bouncer
This commit is contained in:
parent
7adbd67afa
commit
a4a55d2074
|
@ -107,9 +107,8 @@ function add_user_irc_bouncer {
|
||||||
|
|
||||||
stop_irc_bouncer
|
stop_irc_bouncer
|
||||||
|
|
||||||
#ZNC_SALT="$(dd if=/dev/urandom bs=16c count=1 | md5sum | awk -F ' ' '{print $1}' | cut -c1-20)"
|
ZNC_SALT="$(dd if=/dev/urandom bs=16c count=1 | md5sum | awk -F ' ' '{print $1}' | cut -c1-20)"
|
||||||
ZNC_SALT='WggsZXvdAmVy4_cu4,_*'
|
new_user_hash=$(echo -n "${new_user_password}${ZNC_SALT}" | sha256sum | awk -F ' ' '{print $1}')
|
||||||
new_user_hash=$(echo "${new_user_password}${ZNC_SALT}" | sha256sum | awk -F ' ' '{print $1}')
|
|
||||||
|
|
||||||
echo "<User ${new_username}>" >> /home/znc/.znc/configs/znc.conf
|
echo "<User ${new_username}>" >> /home/znc/.znc/configs/znc.conf
|
||||||
echo " Admin = ${is_admin}" >> /home/znc/.znc/configs/znc.conf
|
echo " Admin = ${is_admin}" >> /home/znc/.znc/configs/znc.conf
|
||||||
|
@ -140,7 +139,7 @@ function add_user_irc_bouncer {
|
||||||
echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf
|
echo ' LoadModule = simple_away' >> /home/znc/.znc/configs/znc.conf
|
||||||
echo '' >> /home/znc/.znc/configs/znc.conf
|
echo '' >> /home/znc/.znc/configs/znc.conf
|
||||||
echo " Server = ${DEFAULT_DOMAIN_NAME} ${IRC_PORT} ${IRC_PASSWORD}" >> /home/znc/.znc/configs/znc.conf
|
echo " Server = ${DEFAULT_DOMAIN_NAME} ${IRC_PORT} ${IRC_PASSWORD}" >> /home/znc/.znc/configs/znc.conf
|
||||||
echo " Server = ${IRC_ONION_HOSTNAME} ${IRC_PORT} ${IRC_PASSWORD}" >> /home/znc/.znc/configs/znc.conf
|
#echo " Server = ${IRC_ONION_HOSTNAME} ${IRC_PORT} ${IRC_PASSWORD}" >> /home/znc/.znc/configs/znc.conf
|
||||||
echo '' >> /home/znc/.znc/configs/znc.conf
|
echo '' >> /home/znc/.znc/configs/znc.conf
|
||||||
echo " <Chan #${PROJECT_NAME}>" >> /home/znc/.znc/configs/znc.conf
|
echo " <Chan #${PROJECT_NAME}>" >> /home/znc/.znc/configs/znc.conf
|
||||||
echo ' </Chan>' >> /home/znc/.znc/configs/znc.conf
|
echo ' </Chan>' >> /home/znc/.znc/configs/znc.conf
|
||||||
|
|
Loading…
Reference in New Issue