minor changes
authorIan Kelling <ian@iankelling.org>
Sat, 5 Dec 2020 23:27:17 +0000 (18:27 -0500)
committerIan Kelling <ian@iankelling.org>
Sat, 5 Dec 2020 23:27:17 +0000 (18:27 -0500)
brc2
distro-end
machine_specific/vps/filesystem/etc/bind/named.conf.local
mailtest-check
subdir_files/.config/mpv/mpv.conf

diff --git a/brc2 b/brc2
index c767f309ea84cecc324ea6fe02c6e9c244407aec..e392c49a90c01cbe4ba3e2ceadc7270afa96d61d 100644 (file)
--- a/brc2
+++ b/brc2
@@ -395,7 +395,6 @@ dnsecgen() {
   # dnsecgen (in brc2)
 
   local zone=$1
-  local f tag
   dnssec-keygen -a RSASHA256 -b 2048 $zone
   dnssec-keygen -f KSK -a RSASHA256 -b 4096 $zone
   for f in K$zone.*.key; do
@@ -1026,7 +1025,7 @@ ngo() {
 }
 
 otp() {
-  oathtool --totp -b "$@" | xclip -selection clipboard
+  oathtool --totp -b "$*" | xclip -selection clipboard
 }
 
 
index 615f98aef6ee9a562e361932df604a91aef00439..0635b1716a85dc0ba7d4f4317358502c666894f2 100755 (executable)
@@ -599,9 +599,10 @@ EOF
     # /msg *status shutdown
     # configed auth on freenode by following
     # https://wiki.znc.in/Sasl:
-    # /msg *sasl RequireAuth yes
-    # /msg *sasl Mechanism PLAIN
-    # /msg *sasl Set ident_name password
+    # /query *sasl
+    # RequireAuth yes
+    # Mechanism PLAIN
+    # Set MyNickservName pa$$w0rd
     # created the system service after, and had to do
     # mv /home/iank/.znc/* /var/lib/znc
     # sed -i 's,/home/iank/.znc/,/var/lib/znc,' /var/lib/znc/config/znc.conf
@@ -609,8 +610,9 @@ EOF
     # /msg *status LoadMod --type=global log -sanitize
     # todo: in config file AllowWeb = true should be false. better security if that is off unless we need it.
     # /msg *status LoadMod --type=network perform
-    # /msg *perform add PRIVMSG ChanServ :invite #fsf-office
+    # /query *perform add PRIVMSG ChanServ :invite #fsf-office
     # /msg *perform add JOIN #fsf-office
+    # /msg *status LoadMod NickServ
     #
     # i set  Buffer = 500
     # also ran /znc LoadMod clearbufferonmsg
index 380850063349c22b321ce2f528456ec32f22454f..596c9b31af69b860de41874958605fb8071ab074 100644 (file)
@@ -20,6 +20,7 @@ inline-signing yes;
     grant b8.nz. subdomain b8.nz.;
   };
 };
+# for dynamic ip updates
 include "/etc/bind/key.b8.nz";
 
 zone "iankelling.org" {
index 5d5822144d7f7aaf600500c950f4a971a4efb76a..56fdbb2b1d0fa0b42dc6ae9b515c1ef576cde76b 100755 (executable)
@@ -66,7 +66,7 @@ for folder in ${folders[@]}; do
       last_sec=$(awk '/^Subject: / {print $4}' $latest)
 
       if $slow; then
-        find $folder/new $folder/cur -type f -mmin +300 -delete
+        find $folder/new $folder/cur -type f -mmin +1080 -delete
         if [[ ! $nspid ]]; then
           nspid=$(systemctl status mailnn| sed -n '/^ *Main PID:/s/[^0-9]//gp')
         fi
index cc4ead84ae823f38b019397ca4ef875ef1a03eea..8ce7b0f62145d48a41236f4e9bf1ed1d1c1169a8 100644 (file)
@@ -3,7 +3,7 @@
 #pause
 #loop-file=inf
 loop-file=no
-#shuffle
+shuffle
 volume=50
 #save-position-on-quit