Files
secureblue/files/system/etc/profile.d/user-motd.sh
2024-11-21 17:23:06 -08:00

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