File modified: bin/start.sh
Change317 at Thu Jul 08 15:33:36 2010 +0200 by Ivan Kanis <ivan@tao>
diff -r 7cefa6db85b1 -r fb2f010fc511 bin/start.sh --- a/bin/start.sh Wed Jul 07 20:25:22 2010 +0200 +++ b/bin/start.sh Thu Jul 08 15:33:36 2010 +0200 @@ -2,7 +2,7 @@ hd_name="Iomega_HDD" uname=`uname` -if test "X${uname}" == "XDarwin" +if test "X${uname}" = "XDarwin" then portable_dir="/Volumes/${hd_name}" else @@ -23,7 +23,7 @@ sudo alsactl -f "${ALSA_FILE}" restore fi -if test "X${uname}" == "XDarwin" +if test "X${uname}" = "XDarwin" then sudo umount "${portable_dir}" hd_device=`diskutil list | grep "${hd_name}" | awk '{printf $6}'` @@ -50,7 +50,7 @@ check "compilation error" fi -if test $(hostname) = tao +if test "X`hostname`" = "Xtao" then ssh-add check "password error with private key"