File: //proc/1284356/root/etc/profile.d/dmotd.sh
#!/bin/bash
if tty -s; then type='interactive'; if [[ "$(id -u)" = '0' && -f /usr/local/bin/dmotd ]]; then /usr/local/bin/dmotd; fi; else type='non-interactive'; fi;
if tty -s; then type='interactive'; if [[ "$(id -u)" != '0' && "$(id -Gn | grep -wo 'wheel')" = 'wheel' && -f /usr/local/bin/dmotd ]]; then sudo /usr/local/bin/dmotd; fi; else type='non-interactive'; fi;
if echo $0 | grep -e ^\- 2>&1 > /dev/null; then login='login'; else login='non-login'; fi;