hopefully fix arbtt
authorIan Kelling <ian@iankelling.org>
Tue, 28 Jan 2020 23:31:32 +0000 (18:31 -0500)
committerIan Kelling <ian@iankelling.org>
Tue, 28 Jan 2020 23:31:32 +0000 (18:31 -0500)
distro-end
mount-latest-subvol

index b62e1ff453201d751d84d1d89cd3004053ab105b..f391912be65334e77c43d99941e09bd490f73b94 100755 (executable)
@@ -928,6 +928,12 @@ m reset-xscreensaver
 # cabal update
 # cabal install --upgrade-dependencies  --force-reinstalls arbtt
 # also, i assume syncing this between machines somehow messed up the data.
+case $codename in
+  etiona)
+    pi arbtt
+    ;;
+esac
+
 
 
 m primary-setup
@@ -1408,7 +1414,7 @@ DEVICESCAN -a -o on -S on -n standby,q $sched \
 
 ########### misc stuff
 
-case $(debian-codename) in
+case $codename in
   # needed for debootstrap scripts for fai since fai requires debian
   flidas)
     pi dnsmasq
index 0a606268543196aa4dcb7a40d6a000b03b69ebde..bce478a7c4fa77a82c753dd6ffce72124e8ffc5d 100644 (file)
@@ -334,7 +334,7 @@ for vol in q a o i; do
   done
   if [[ $vol == q ]]; then
     # maybe this will fail if X is not running
-    systemctl --user start arbtt ||:
+    sudo -u iank systemctl --user stop arbtt ||:
   fi
   stale_dir=/nocow/btrfs-stale
   rm -f $stale_dir/$d