diff --git a/alpine/entrypoint.sh b/alpine/entrypoint.sh index cd71e59..fbaae40 100644 --- a/alpine/entrypoint.sh +++ b/alpine/entrypoint.sh @@ -19,7 +19,8 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java10/entrypoint.sh b/java10/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java10/entrypoint.sh +++ b/java10/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java11/entrypoint.sh b/java11/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java11/entrypoint.sh +++ b/java11/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java12/entrypoint.sh b/java12/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java12/entrypoint.sh +++ b/java12/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java13/entrypoint.sh b/java13/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java13/entrypoint.sh +++ b/java13/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java14/entrypoint.sh b/java14/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java14/entrypoint.sh +++ b/java14/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java15/entrypoint.sh b/java15/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java15/entrypoint.sh +++ b/java15/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java7/entrypoint.sh b/java7/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java7/entrypoint.sh +++ b/java7/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java8/entrypoint.sh b/java8/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java8/entrypoint.sh +++ b/java8/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/java9/entrypoint.sh b/java9/entrypoint.sh index 1f5f5f7..77e6ad1 100644 --- a/java9/entrypoint.sh +++ b/java9/entrypoint.sh @@ -22,7 +22,8 @@ java -version # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP} diff --git a/source/entrypoint.sh b/source/entrypoint.sh index cd71e59..fbaae40 100644 --- a/source/entrypoint.sh +++ b/source/entrypoint.sh @@ -19,7 +19,8 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` # Replace variables in the startup command MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo "[container@pterodactyl ~]$ ${MODIFIED_STARTUP}" +printf '\033[1m\033[33mcontainer@pterodactyl~ \033[0m' +echo "${MODIFIED_STARTUP}" # Run the startup command eval ${MODIFIED_STARTUP}