dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 89d0a08ed80f1c07a535dd47b9f81ee3b672c818
parent 7619538ed30731001e2193ba52564e9b7efa881f
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon, 25 May 2015 10:14:12 +0200

use osx cmds for ip, upgrade brew upgrade call

Diffstat:
Mbin/iddqd-ssh | 12++++++------
Mbin/uu | 2+-
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/iddqd-ssh b/bin/iddqd-ssh @@ -1,16 +1,16 @@ #!/bin/bash -#if [[ "$(ifconfig | grep 10.17.8)" ]]; then -if [[ "$(ip addr | grep 10.17.8)" ]]; then +#if [[ "$(ip addr | grep 10.17.8)" ]]; then +if [[ "$(ifconfig | grep 10.17.8)" ]]; then echo "On geo lan. Mounting sshfs and connecting directly..." - #sshfs-iddqd.sh + sshfs-iddqd.sh #sshfs-iddqd-fix.sh ssh adc@iddqd.nfit.au.dk -t 'bin/tmux-dev.sh' -elif [[ "$(ip addr | grep 10.17.2)" ]]; then - echo "On geo VPN. Mounting sshfs and connecting directly..." +#elif [[ "$(ip addr | grep 10.17.2)" ]]; then +# echo "On geo VPN. Mounting sshfs and connecting directly..." #sshfs-iddqd.sh #sshfs-iddqd-fix.sh - ssh adc@iddqd.nfit.au.dk -t 'bin/tmux-dev.sh' +# ssh adc@iddqd.nfit.au.dk -t 'bin/tmux-dev.sh' else echo "Outside geo lan, connecting through fresh-horse..." ssh adc@fh.cs.au.dk -t 'ssh iddqd.nfit.au.dk -t "bin/tmux-dev.sh"' diff --git a/bin/uu b/bin/uu @@ -9,7 +9,7 @@ if [[ "$UNAMESTR" == 'Linux' ]]; then elif [[ "$UNAMESTR" == 'Darwin' ]]; then echo "Fetching updates..." brew update && \ - brew upgrade && \ + brew upgrade --all && \ brew cleanup else echo "Platform not supported"