Change prompt in entrypoint.sh

This commit is contained in:
Matthew Penner 2020-12-06 16:45:25 -07:00
parent 93aa787a0e
commit bcf5877b4f
11 changed files with 22 additions and 11 deletions

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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}