Moved handler for root login to profile script.
parent
28ef4a44b7
commit
37a09937db
@ -1,5 +1,9 @@
|
||||
|
||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
# Drop root to console
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
${SHELL}
|
||||
exit 0
|
||||
fi
|
||||
cdm
|
||||
exit
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue