Linux_frogg-profile.d/777-welcome.sh

63 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
WELCOME_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
#region INCLUDES
. "${WELCOME_SCRIPT_PATH}/config/config_colors.sh"
. "${WELCOME_SCRIPT_PATH}/inc/vars.sh"
. "${WELCOME_SCRIPT_PATH}/func/common.sh"
. "${WELCOME_SCRIPT_PATH}/func/message_display.sh"
. "${WELCOME_SCRIPT_PATH}/func/system_info.sh"
#endregion
##################
### DASHBOARD ###
##################
display_dashboard
#################
### WARNINGS ###
#################
. "${WELCOME_SCRIPT_PATH}/inc/warnings.sh"
#################
### SERVICES ###
#################
. "${WELCOME_SCRIPT_PATH}/inc/services.sh"
##############
### INFOS ###
##############
. "${WELCOME_SCRIPT_PATH}/inc/infos.sh"
###################
### BASH ALIAS ###
###################
. "${WELCOME_SCRIPT_PATH}/inc/alias.sh"
#################
### BASH PS1 ###
#################
. "${WELCOME_SCRIPT_PATH}/inc/ps1.sh"
##################
### SEND MAIL ###
##################
. "${WELCOME_SCRIPT_PATH}/inc/mail_connect.sh"
################
### INSTALL ###
################
if [[ $HAS_WELCOME_CONF_ERROR -eq 1 ]];then
msg_error "Configurations manquantes, veuillez tapez ${COLOR_WHITE}deb-conf${COLOR_LIGHT_RED} pour plus d'informations"
fi