Skip to content

Commit e56ea78

Browse files
committed
remove ircd
1 parent 8f8be61 commit e56ea78

File tree

5 files changed

+3
-155
lines changed

5 files changed

+3
-155
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To join, submit a pull request with your public key at `users/<you>/authorized_k
3535
$ mkdir ~/public_html
3636
$ echo hello internet >~/public_html/index.html
3737
$
38-
$ # Idle in local ircd
38+
$ # Idle in tilde.chat IRC
3939
$ # Submit PRs to `README.md`, `bin/`, `etc/`, `htdocs/`, etc
4040
$ # Have fun
4141

bin/bootstrap.sh

+2-17
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ if [ -z "${RWRS_SKIP_APT+x}" ]; then
1818
apt-get -y --allow-releaseinfo-change update
1919
DEBIAN_FRONTEND=noninteractive \
2020
apt install -yq build-essential libtool libtool-bin sudo quota net-tools \
21-
curl git zsh vim emacs nano mle screen tmux irssi weechat inspircd \
21+
curl git zsh vim emacs nano mle screen tmux irssi weechat \
2222
subversion libxml2-dev libpcre3-dev strace gdb socat sqlite3 \
2323
libsqlite3-dev fish mosh stow re2c bison libssl-dev pkg-config \
2424
zlib1g-dev libreadline-dev libgd-dev libfreetype6-dev libwebp-dev \
2525
libonig-dev lua5.3 liblua5.3-dev libffi-dev bind9-dnsutils cmake \
26-
ca-certificates debian-archive-keyring snapd rsync mosh
26+
ca-certificates debian-archive-keyring snapd rsync
2727
systemctl daemon-reexec
2828
logger -t $log_ns "ran apt updates"
2929
fi
@@ -65,21 +65,6 @@ if ! diff "$rwrs_root/etc/cron" /etc/cron.d/rw-rs &>/dev/null; then
6565
logger -t $log_ns "updated cron"
6666
fi
6767

68-
# configure ircd
69-
if ! diff <(grep -v pass "$rwrs_root/etc/inspircd.conf") \
70-
<(grep -v pass /etc/inspircd/inspircd.conf) &>/dev/null
71-
then
72-
cp -vf "$rwrs_root/etc/inspircd.conf" /etc/inspircd/inspircd.conf
73-
ircd_pass=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 24)
74-
sed -i "s/@ircdpasshere@/$ircd_pass/g" /etc/inspircd/inspircd.conf
75-
touch /etc/inspircd/inspircd.motd
76-
chown -R irc:irc /etc/inspircd/
77-
chmod 700 /etc/inspircd/
78-
chmod 600 /etc/inspircd/inspircd.conf
79-
systemctl restart inspircd
80-
logger -t $log_ns "updated inspircd.conf"
81-
fi
82-
8368
# build apache
8469
if ! { [ -f $httpd_root/bin/httpd ] && \
8570
[ "$($httpd_root/bin/httpd -v | grep -Po '(?<=Apache/)\d+\.\d+\.\d+')" \

bin/gen_motd.sh

-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,3 @@ source "$(cd $(dirname "${BASH_SOURCE[0]}") &>/dev/null && pwd)/common.sh"
2727
echo " $rwrs_url"
2828
echo
2929
} >/etc/motd
30-
31-
cp -vf /etc/motd /etc/inspircd/inspircd.motd

etc/inspircd.conf

-130
This file was deleted.

tests/test_ircd.sh

-5
This file was deleted.

0 commit comments

Comments
 (0)