|
@@ -10,7 +10,7 @@ if [ ! -f "/ircd/ircd.yaml" ]; then
|
10
|
10
|
# change default oper passwd
|
11
|
11
|
OPERPASS=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c20)
|
12
|
12
|
echo "Oper username:password is admin:$OPERPASS"
|
13
|
|
- ENCRYPTEDPASS=$(echo "$OPERPASS" | /ircd-bin/oragono genpasswd)
|
|
13
|
+ ENCRYPTEDPASS=$(echo "$OPERPASS" | /ircd-bin/ergo genpasswd)
|
14
|
14
|
ORIGINALPASS='\$2a\$04\$0123456789abcdef0123456789abcdef0123456789abcdef01234'
|
15
|
15
|
|
16
|
16
|
awk "{gsub(/password: \\\"$ORIGINALPASS\\\"/,\"password: \\\"$ENCRYPTEDPASS\\\"\")}1" /tmp/ircd.yaml > /tmp/ircd2.yaml
|
|
@@ -23,7 +23,7 @@ if [ ! -f "/ircd/ircd.yaml" ]; then
|
23
|
23
|
fi
|
24
|
24
|
|
25
|
25
|
# make self-signed certs if they don't already exist
|
26
|
|
-/ircd-bin/oragono mkcerts
|
|
26
|
+/ircd-bin/ergo mkcerts
|
27
|
27
|
|
28
|
28
|
# run!
|
29
|
|
-exec /ircd-bin/oragono run
|
|
29
|
+exec /ircd-bin/ergo run
|