# shellcheck shell=bash
# shellcheck source=/dev/null
[ -f ~/.bashrc ] && . ~/.bashrc

# Session live : la première console lance l'installateur AVERION Server
if [ -d /run/live/medium ] && [ "$(tty)" = "/dev/tty1" ] && [ -z "${AVERION_SHELL:-}" ] \
	&& [ -x /usr/local/sbin/averion-installer ]; then
	exec /usr/local/sbin/averion-installer
fi
