Change pelican to pterodactyl

This commit is contained in:
srnyx
2025-03-11 16:38:56 -04:00
parent be4d0491d9
commit 883aef96dd
9 changed files with 15 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ export INTERNAL_IP
cd /home/container || exit 1
# Print Erlang's version
printf "\033[1m\033[33mcontainer@pelican~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n"
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n"
erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
@@ -19,7 +19,7 @@ erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'i
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g')
# Display the command we're running in the output, and then execute it with eval
printf "\033[1m\033[33mcontainer@pelican~ \033[0m"
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m"
echo "$PARSED"
# shellcheck disable=SC2086
eval "$PARSED"