Difference between revisions of "SQWareCentral:etc:.profile"
Expdbtools (talk | contribs) (Page créée avec « Fichier de positionnement d'environnement $gvsqw_RootexpdbCentral/etc/.profile:<br> contient l'initialisation des variables d'environnement de SQWareCentral.<br> <br> Source … ») |
(No difference)
|
Latest revision as of 21:42, 13 July 2010
Fichier de positionnement d'environnement $gvsqw_RootexpdbCentral/etc/.profile:
contient l'initialisation des variables d'environnement de SQWareCentral.
Source l'ensemble des fichiers de positionnement de variables et leurs surcharge.
Source les environnements de confort quand on est rattaché à un terminal.
# custom [ -r $gvsqw_RootexpdbCentral/etc_cust/.profile ] && . $gvsqw_RootexpdbCentral/etc_cust/.profile ## Language var + custom [ -r $gvsqw_RootexpdbCentral/etc/sqwc_Lang.cfg ] && . $gvsqw_RootexpdbCentral/etc/sqwc_Lang.cfg [ -r $gvsqw_RootexpdbCentral/etc_cust/sqwc_Lang.cfg ] && . $gvsqw_RootexpdbCentral/etc_cust/sqwc_Lang.cfg ## Global var for SQWareCentral + custom [ -r $gvsqw_RootexpdbCentral/etc/sqwc_GlobalVar.cfg ] && . $gvsqw_RootexpdbCentral/etc/sqwc_GlobalVar.cfg [ -r $gvsqw_RootexpdbCentral/etc_cust/sqwc_GlobalVar.cfg ] && . $gvsqw_RootexpdbCentral/etc_cust/sqwc_GlobalVar.cfg ## Global var for SQWareProduction + custom [ -r $gvsqw_RootexpdbCentral/etc/sqwc_ExpVar.cfg ] && . $gvsqw_RootexpdbCentral/etc/sqwc_ExpVar.cfg [ -r $gvsqw_RootexpdbCentral/etc_cust/sqwc_ExpVar.cfg ] && . $gvsqw_RootexpdbCentral/etc_cust/sqwc_ExpVar.cfg #Source of deployed SGBDs + custom for lvsqw_Sgbd in `cd $gvsqw_RootexpdbCentral/action;ls|sed 's,/,,'` do ## Global var for SGBD + custom [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_GlobalVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_GlobalVar.cfg [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_GlobalVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_GlobalVar.cfg ## Global var for SQWareProduction for SGBD + custom [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_ExpVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_ExpVar.cfg [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_ExpVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_ExpVar.cfg ## Global var for SQWareRepository for SGBD + custom [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_DbRefVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/sqwc_DbRefVar.cfg [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_DbRefVar.cfg ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/sqwc_DbRefVar.cfg done #gestion des alias,affichage ... lvsqw_IsTerminal=$(tty 2>&1 >/dev/null;echo $?) if [ "$lvsqw_IsTerminal" = "0" ] then [ -r $gvsqw_RootexpdbCentral/etc/.profile_confort ] && . $gvsqw_RootexpdbCentral/etc/.profile_confort [ -r $gvsqw_RootexpdbCentral/etc_cust/.profile_confort ] && . $gvsqw_RootexpdbCentral/etc_cust/.profile_confort #Source of deployed SGBDs + custom for lvsqw_Sgbd in `cd $gvsqw_RootexpdbCentral/action;ls|sed 's,/,,'` do [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/.profile_confort ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc/.profile_confort [ -r $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/.profile_confort ] && . $gvsqw_RootexpdbCentral/action/$lvsqw_Sgbd/etc_cust/.profile_confort done fi