fix btrbk service
[distro-setup] / myunison
index 30ee1cbe3e99b24851849e7e71de8d25bfa37786..f68ae34af1337111201affd1d8ff4279eec63ada 100755 (executable)
--- a/myunison
+++ b/myunison
@@ -1,4 +1,4 @@
-#!/bin/bash -l
+#!/bin/bash -lx
 
 set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
@@ -83,6 +83,9 @@ else
     type -t $f &>/dev/null || f=unison-gtk2 # for arch
 fi
 
+
+  s ln -sTf ~/.unison /root/.unison
+
 if s $f  "$host"; then
     if [[ $host == frodo ]]; then
         # only send data to the machine i do full backups to