mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-01 10:57:49 +00:00
14 lines
292 B
Bash
14 lines
292 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Prevent doublesourcing
|
|
if [ -z "$USERMOTDSOURCED" ]; then
|
|
USERMOTDSOURCED="Y"
|
|
if test -d "$HOME"; then
|
|
if test ! -e "$HOME"/.config/no-show-user-motd; then
|
|
if test -x "/usr/libexec/ublue-motd"; then
|
|
/usr/libexec/ublue-motd
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|