From 7e23df416e7c7498362b0b008b7e52a3c699c15e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 21 Sep 2013 11:08:57 +0900 Subject: [PATCH] do not run setterm if login with ssh --- profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profile b/profile index a41a3e2..d4ed007 100755 --- a/profile +++ b/profile @@ -38,4 +38,5 @@ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$_python_pkg_conf" #export MANPATH="`manpath`:$HOME/.local/share/man" # in my environment powerdown does not work -type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 +test -z "$SSH_CONNECTION" && \ + type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10