You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
if [[ -z "$DISPLAY" && -z "$SSH_TTY" && $(tty) = /dev/tty* ]]; then
|
|
# Drop root to console
|
|
if ! [[ $EUID -eq 0 ]]; then
|
|
cdm
|
|
if (( $? == 0 )); then
|
|
exit 0
|
|
fi
|
|
fi
|
|
fi
|