commit 28a262832e241b0490813a4297c98d93e14f0376 from: jrmu date: Sun Feb 26 04:50:44 2023 UTC fixed perms commit - 8054114ad960af0a6b1e98ae3b755a0ddecb78ef commit + 28a262832e241b0490813a4297c98d93e14f0376 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}