dir=/q/p/c/machine_specific/$HOSTNAME/.unison
$ROOTCMD mkdir -p $dir
+$ROOTCMD chown 1000:1000 $dir
$ROOTCMD rm -rf /root/.unison
$ROOTCMD ln -s $dir /root
$ROOTCMD ln -s /q/p /
+# unison version compat:
+# deb/ubuntu, it depends what version they have.
+# arch and fedora have unison240 and unison-240-compat respectively,
+# but that failed to sync with an ubuntu 12.04 which had unson 2.40,
+# so I installed latest stable manualy
+
+# wget http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.gz
+# ./configure
+# make world opt
+# s make install
+
+# wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.3.tar.gz
+# make
+# s cp unison /usr/local/bin
PACKAGES install
unison
$ROOTCMD cp -ar /home/ian/.ssh /root
$ROOTCMD chown -R root:root /root/.ssh
-# default jessie groups + kvm
-$ROOTCMD usermod -aG cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,kvm ian
+# default jessie groups + kvm & systemd-journal
+$ROOTCMD usermod -aG cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,kvm,systemd-journal ian