From 8e5c94acce9f07ba9b3bb94589e46d0fa6856996 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 25 Aug 2008 10:35:25 +0000 Subject: [PATCH] Don't show from localhost. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@141 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/prompt.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index 6357ac5..f874d59 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" -a ! "$SSH_FORWARDED" = "193.128.72.68" ]; then + if [ ! "$SSH_FORWARDED" = "62.189.242.202" -a ! "$SSH_FORWARDED" = "62.189.241.202" -a ! "$SSH_FORWARDED" = "193.128.72.68" -a ! "$SSH_FORWARDED" = "localhost" ]; then SSH_FORWARDED=" (from $SSH_FORWARDED)" else SSH_FORWARDED= -- 2.7.4