minor fixes
authorIan Kelling <ian@iankelling.org>
Sun, 5 Apr 2020 20:31:19 +0000 (16:31 -0400)
committerIan Kelling <ian@iankelling.org>
Sun, 5 Apr 2020 20:31:19 +0000 (16:31 -0400)
btrbk-run
distro-end
machine_specific/btrbk/filesystem/etc/systemd/system/btrbk.timer
system-status

index 2a15864954613c5121b9c09ac01a9b558b9cb1ad..16dbcaffc1955a08c87aa678ca70cee6e408b16a 100644 (file)
--- a/btrbk-run
+++ b/btrbk-run
@@ -194,6 +194,9 @@ if [[ ! -v targets && ! $source ]]; then
         targets+=(kw)
       fi
       ;;
+    frodo)
+      : # no targets
+      ;;
     *)
       die "error: no default targets for this host, use -t"
       ;;
@@ -218,10 +221,9 @@ if [[ ${mountpoints[0]} ]]; then
 else
   # set default mountpoints
   case $HOSTNAME in
-    # no remote backups atm. note, if we do enable this, configuration below will need some changes.
-    #  frodo)
-    #    prospective_mps=(/i)
-    #    ;;
+     frodo)
+       prospective_mps=(/i)
+       ;;
     *)
       prospective_mps=(/a /q)
       if [[ $source ]]; then
@@ -374,7 +376,7 @@ snapshot_preserve 36h 14d 8w 24m
 snapshot_preserve_min 4h
 snapshot_dir btrbk
 
-# so, total backups = ~89
+# so, total backups = ~75
 target_preserve 36h 14d 8w 24m
 target_preserve_min 4h
 
index 283c6803e20102ef264ab2ccb6c35afe6525a083..20ca7dcc61c46aa3c13c7624659726ab3be7faa4 100755 (executable)
@@ -923,6 +923,11 @@ fi
 
 ####### begin misc packages ###########
 
+sudo debconf-set-selections <<EOF
+gdm3    shared/default-x-display-manager        select  lightdm
+lightdm shared/default-x-display-manager        select  lightdm
+EOF
+
 case $codename in
   flidas)
     :
index c63b9990ea747faa8ef77a0da65727e23d61e65a..85e4af2c46e246f90dc0e73347246cc5752ea762 100644 (file)
@@ -2,7 +2,7 @@
 Description=Run btrbk-run once every 20 mins
 
 [Timer]
-OnCalendar=*:0/45
+OnCalendar=hourly
 
 [Install]
 WantedBy=timers.target
index c926fc76320b4c81c418251ea6c40f8952852889..57fd824ac6363ff8c906a426e7a10666c4333c27 100644 (file)
@@ -58,7 +58,7 @@ write-status() {
     bouncemsg="message in /m/md/bounces/new"
   fi
   lo -1 bounce $bouncemsg
-  glob=(/m/md/alerts/new/* /m/md/alerts/cur/*)
+  glob=(/m/md/alerts/new/*)
   if [[ -e ${glob[0]} ]]; then
     chars+=("A")
   fi