Commit Diff
Diff:
8054114ad960af0a6b1e98ae3b755a0ddecb78ef
28a262832e241b0490813a4297c98d93e14f0376
Commit:
28a262832e241b0490813a4297c98d93e14f0376
Tree:
0f94ac105ca67e925965a1412d664b916aecbffc
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Sun Feb 26 04:50:44 2023 UTC
Message:
fixed perms
blob - 2e4eb6ace37958428b470b24361f23e3dd3cde98
blob + bda74a4314dea9e359ed307732546327c8f7a894
--- install
+++ install
@@ -9,6 +9,7 @@ ZNCUSER="znc"
ZNCDIR="/home/znc/home/znc/"
HTTPDCONF="/etc/httpd.conf"
ACMECONF="/etc/acme-client.conf"
+HOSTNAMEIF="/etc/hostname.vio0"
pkg_add figlet-2.2.5 php-8.0.8 php-sqlite p5-DBI p5-DBD-SQLite sqlite3 p5-Class-DBI-SQLite
cc -o blowfish.o blowfish.c
@@ -34,6 +35,7 @@ chmod ug+rwx ${ZONES}
chmod ug+rw ${ZONES}/*
chmod g+rw ${HTTPDCONF} ${ACMECONF}
echo "permit nopass ${USERNAME} as _nsd cmd nsd-control" >> /etc/doas.conf
+chmod g+rw ${HOSTNAMEIF}
cp captcha.png register.php ${HTDOCS}/
cp LICENSE README botnow botnow.conf.example BNC.pm DNS.pm Mail.pm SQLite.pm Shell.pm table.sql Hash.pm Help.pm install networks captcha.png register.php words ${HOMEDIR}/
chown -R ${USERNAME}:${USERNAME} ${HOMEDIR}
IRCNow