ops/bin/webirc

8 lines
284 B
Bash
Executable File

#!/bin/bash
printf 'setting up your thelounge account\n\n'
THELOUNGE_HOME=/srv/thelounge sudo -u thelounge /bin/bash -c '/srv/thelounge/.yarn/bin/thelounge add $SUDO_USER'
printf '\nyou can now log in to https://webirc.envs.net as %s with the password you just created.\n' "$USER"