various minor fixes
[distro-setup] / conflink
index 1bc997b9b5350076e9f8ce05436048dae48df08d..03649f5cfd0815458bd30e5caffb13a9c89753dc 100755 (executable)
--- a/conflink
+++ b/conflink
@@ -83,12 +83,20 @@ case $USER in
             # named[20823]: /etc/bind/db.iank.pw.jnl: create: permission denied
             m s chgrp bind /etc/bind/bind-writable
         fi
+        files=(/etc/bind/[Kk]*)
+        if [[ -e $files ]]; then
+            m s chgrp bind ${files[@]}
+        fi
         if [[ -e /etc/davpass ]] && getent group www-data &>/dev/null; then
             s chgrp www-data /etc/davpass
         fi
+        if [[ -e /var/lib/znc/configs/znc.conf ]] && getent group znc; then
+          s chown znc:znc /var/lib/znc/configs/znc.conf
+          fi
+        /a/exe/lnf -T /p/arbtt-capture.log ~/.arbtt/capture.log
         ##### end special extra stuff #####
 
-
+        sudo bash -c 'cd /etc/openvpn; for f in client/*; do ln -sf $f .; done'
 
         m sudo -H -u traci "$BASH_SOURCE"
         ;;