Change prompt in entrypoint.sh
This commit is contained in:
parent
93aa787a0e
commit
bcf5877b4f
11 changed files with 22 additions and 11 deletions
|
@ -19,7 +19,8 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -22,7 +22,8 @@ java -version
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
|
@ -19,7 +19,8 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
# Replace variables in the startup command
|
# Replace variables in the startup command
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
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
|
# Run the startup command
|
||||||
eval ${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
Loading…
Reference in a new issue