X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=conflink;h=e53605e2ae884abf341b7e7edd73ac579ba7d585;hb=56c55d8e02cdd6ec67d2fe53cc03785d8876442e;hp=defb8321d87e1fef55112a6c11e8f28f8e7ff52e;hpb=40dd151ec6ba75633c74568da59e35a45351f194;p=distro-setup diff --git a/conflink b/conflink index defb832..e53605e 100755 --- a/conflink +++ b/conflink @@ -147,20 +147,26 @@ for x in /p/c/machine_specific/*.hosts /a/bin/ds/machine_specific/*.hosts; do if grep -qxF $HOSTNAME $x; then all_dirs+=( ${x%.hosts} ); fi done -# old files 2022-03 -for t in systemstatus epanicclean btrfsmaintstop dynamicipupdate; do - f=/etc/systemd/system/$t.timer - if [[ -e $f ]]; then - s systemctl stop $t.timer - s systemctl disable $t.timer - s rm -fv $f - reload_systemd=true - fi -done c_dirs=(/a/c{,/machine_specific/$HOSTNAME}) case $user in iank) + # old files 2022-03 + for t in systemstatus epanicclean btrfsmaintstop dynamicipupdate; do + f=/etc/systemd/system/$t.timer + if [[ -e $f ]]; then + s systemctl stop $t.timer + s systemctl disable $t.timer + s rm -fv $f + reload_systemd=true + fi + done + # old 2022-04 + if [[ -e /etc/cron.daily/check-lets-encrypt-ssl-settings ]]; then + m s rm -f /etc/cron.daily/check-lets-encrypt-ssl-settings + fi + + /a/bin/ds/install-my-scripts files=(/p/c/machine_specific/*/filesystem/etc/ssh/*_key /p/c/machine_specific/*/filesystem/etc/openvpn/client/*.key