mirror of https://framagit.org/kyodev/kyopages.git
getInfo 2.14.3 essai définition display pour ssh
This commit is contained in:
parent
2226c7dbd4
commit
dddc53c8f8
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=2.14.2
|
||||
version=2.14.3
|
||||
date="23/10/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
|
@ -1962,6 +1962,7 @@ prg_alert_crit(){ # 11/10/2017
|
|||
# initialisation
|
||||
PATH='/usr/sbin:/usr/bin:/sbin:/bin'; TERM=xterm ; IFS=$' \t\n'
|
||||
export PATH TERM IFS
|
||||
[[ "$DISPLAY" ]] || export DISPLAY=":0"
|
||||
[[ "$SSH_CLIENT" || "$SSH_CLIENT" || "$SSH_CLIENT" ]] && ENV_SSH="ssh"
|
||||
|
||||
f__affichage
|
||||
|
|
Loading…
Reference in New Issue