File modified: bin/bgn.sh
Change332 at Sun Aug 08 19:23:46 2010 +0200 by Ivan Kanis <ivan@tao>
diff -r dae74d3b5116 -r 970b5d82f21b bin/bgn.sh --- a/bin/bgn.sh Fri Aug 06 23:03:31 2010 +0200 +++ b/bin/bgn.sh Sun Aug 08 19:23:46 2010 +0200 @@ -1,6 +1,8 @@ #!/bin/sh hd_name="Iomega_HDD" +host_name="`hostname`" + uname=`uname` if test "X${uname}" = "XDarwin" then @@ -50,7 +52,7 @@ check "compilation error" fi -if test "X`hostname`" = "Xtao" +if test "X${host_name}" = "Xtao" then ssh-add check "password error with private key" @@ -60,7 +62,13 @@ wrapper.py emacs & firefox > /dev/null 2>&1 & -nice rsync -a ${portable_dir}/keep ~/local & +if test "X${host_name}" = "Xtao" +then + nice rsync -a ~/lucia /media/Iomega_HDD + nice rsync -a ${portable_dir}/listen ~/local + nice rsync -a ${portable_dir}/zic ~/local +fi +nice rsync -a ${portable_dir}/keep ~/local # Local Variables: # compile-command: "sh start.sh"