Browse Source

do not run setterm if login with ssh

pull/1/head
10sr 11 years ago
parent
commit
7e23df416e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      profile

+ 2
- 1
profile View File

@@ -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

Loading…
Cancel
Save