From 01f2b598e41df182a5476e60d4cb78958ef3c8ab Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 8 Jul 2008 13:22:47 +0000 Subject: [PATCH] Tidy up. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@115 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/prompt.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index ca55679..6357ac5 100644 --- a/.profile.d/prompt.bashrc +++ b/.profile.d/prompt.bashrc @@ -5,7 +5,7 @@ SSH_FORWARDED=$(get_remote_ip -n) if [ ! -z "$SSH_FORWARDED" ]; then - if [ ! "$SSH_FORWARDED" = "62.189.242.202" -a ! "$SSH_FORWARDED" = "62.189.241.202" ]; then + if [ ! "$SSH_FORWARDED" = "62.189.242.202" -a ! "$SSH_FORWARDED" = "62.189.241.202" -a ! "$SSH_FORWARDED" = "193.128.72.68" ]; then SSH_FORWARDED=" (from $SSH_FORWARDED)" else SSH_FORWARDED= @@ -14,7 +14,7 @@ fi # Unscientific check for grid jobs. case ${SSH_CLIENT##* } in - 22|2222);; + ""|22|2222);; *) SSH_FORWARDED="$SSH_FORWARDED [grid]" esac -- 2.20.1