Pārlūkot izejas kodu

do not run setterm if login with ssh

pull/1/head
10sr pirms 11 gadiem
vecāks
revīzija
7e23df416e
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      profile

+ 2
- 1
profile Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt