From: Ian Kelling Date: Sat, 5 Dec 2020 23:27:17 +0000 (-0500) Subject: minor changes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=270cd87d97aaddc837787b035917357d8c15132b;p=distro-setup minor changes --- diff --git a/brc2 b/brc2 index c767f30..e392c49 100644 --- 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 } diff --git a/distro-end b/distro-end index 615f98a..0635b17 100755 --- a/distro-end +++ b/distro-end @@ -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 diff --git a/machine_specific/vps/filesystem/etc/bind/named.conf.local b/machine_specific/vps/filesystem/etc/bind/named.conf.local index 3808500..596c9b3 100644 --- a/machine_specific/vps/filesystem/etc/bind/named.conf.local +++ b/machine_specific/vps/filesystem/etc/bind/named.conf.local @@ -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" { diff --git a/mailtest-check b/mailtest-check index 5d58221..56fdbb2 100755 --- a/mailtest-check +++ b/mailtest-check @@ -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 diff --git a/subdir_files/.config/mpv/mpv.conf b/subdir_files/.config/mpv/mpv.conf index cc4ead8..8ce7b0f 100644 --- a/subdir_files/.config/mpv/mpv.conf +++ b/subdir_files/.config/mpv/mpv.conf @@ -3,7 +3,7 @@ #pause #loop-file=inf loop-file=no -#shuffle +shuffle volume=50 #save-position-on-quit