#!/bin/sh

# This file is managed by Ansible, all changes will be lost

if tty -s ; then
	if [ -r ${HOME}/.motd ] ; then
		cat ${HOME}/.motd
	fi
	echo "Run '<command>' for help, or 'exit' to leave.  Available commands:"
else
	echo "Run '<command>' for help.  Available commands:"
fi

cd "$(dirname "$0")"

for cmd in * ; do
	case "$cmd" in
	help) ;;
	*) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;;
	esac
done

