mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 06:29:01 +00:00
Improve the startup commands and unbreak their execution
This commit is contained in:
1 parent
e4e52642d2
commit
0248368c01
7 files changed
+56
-37
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
STARTUP="./foo.sh -env {{HOME}}"
|
||||
|
||||
PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
|
||||
|
||||
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
|
||||
exec env "$PARSED"
|
||||
Reference in new issue
Block a user