change echo to logger
This commit is contained in:
parent
bd86707429
commit
7d575a5c4f
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ if ! $SSHS; then
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
# User specific aliases and function
|
# User specific aliases and function
|
||||||
echo "notmpconf"
|
logdebug "notmpconf"
|
||||||
if [ -e ${MSC_BASE}/functions.sh ]; then
|
if [ -e ${MSC_BASE}/functions.sh ]; then
|
||||||
. ${MSC_BASE}/functions.sh
|
. ${MSC_BASE}/functions.sh
|
||||||
else
|
else
|
||||||
|
@ -112,7 +112,7 @@ if ! $SSHS; then
|
||||||
else
|
else
|
||||||
# run with temporary config
|
# run with temporary config
|
||||||
|
|
||||||
echo "tmpconf"
|
logdebug "tmpconf"
|
||||||
case $TERM in
|
case $TERM in
|
||||||
*screen*)
|
*screen*)
|
||||||
loginfo BASHRC: $BASHRC -> source it
|
loginfo BASHRC: $BASHRC -> source it
|
||||||
|
|
|
@ -14,7 +14,7 @@ if [ -n "$SSH_AUTH_SOCK" ] && \
|
||||||
chmod 600 ~/.x2go/agentsocket
|
chmod 600 ~/.x2go/agentsocket
|
||||||
chown $USER ~/.x2go/agentsocket
|
chown $USER ~/.x2go/agentsocket
|
||||||
# write file name of agent socket into file
|
# write file name of agent socket into file
|
||||||
loginfo "old agentsock $( cat ~/.x2go/agentsocket)"
|
logdebug "old agentsock $( cat ~/.x2go/agentsocket)"
|
||||||
echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
|
echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
|
||||||
#rm ~/.x2go/agentsocket
|
#rm ~/.x2go/agentsocket
|
||||||
#ln -s $SSH_AUTH_SOCK ~/.x2go/agentsocket
|
#ln -s $SSH_AUTH_SOCK ~/.x2go/agentsocket
|
||||||
|
|
Loading…
Reference in a new issue