24 lines
368 B
Bash
24 lines
368 B
Bash
|
. $HOME/.bashrc
|
||
|
|
||
|
#screen -wipe
|
||
|
|
||
|
#if [ -n "$SSH_CLIENT" ]
|
||
|
#then
|
||
|
# transmission-remote -as
|
||
|
# screen -S remote -D -RR -c .screenstart
|
||
|
# transmission-remote -AS
|
||
|
# exit
|
||
|
#el
|
||
|
if [ `tty` == /dev/tty1 ]
|
||
|
then
|
||
|
# export scrln=`screen -ls | wc -l`
|
||
|
# if [ $scrln -eq 2 ]
|
||
|
# then
|
||
|
# screen -S remote -d -m -c .screenstart
|
||
|
# fi
|
||
|
|
||
|
startx
|
||
|
clear
|
||
|
exit
|
||
|
fi
|