Modified rc.d/startx
This commit is contained in:
parent
0e25c8d1cc
commit
439073ef0f
@ -3,6 +3,7 @@
|
|||||||
if [[ -z "$DISPLAY" && $(id -u) -ge 1000 ]] ; then
|
if [[ -z "$DISPLAY" && $(id -u) -ge 1000 ]] ; then
|
||||||
|
|
||||||
TTY=$(tty)
|
TTY=$(tty)
|
||||||
|
if [ "$TTY" == "not a tty" ]; then return; fi
|
||||||
if [ "${TTY/tty}" != "$TTY" -a $(basename ${TTY/tty}) -le 3 ]
|
if [ "${TTY/tty}" != "$TTY" -a $(basename ${TTY/tty}) -le 3 ]
|
||||||
then
|
then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user