mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-04 06:29:00 +00:00
style: format shell scripts
This commit is contained in:
23 files changed
+355
-371
No files matched your search
+2
-3
@@ -2,12 +2,11 @@
|
||||
cd /home/container
|
||||
|
||||
# Make internal Docker IP address available to processes.
|
||||
export INTERNAL_IP=`ip route get 1 | awk '{print $(NF-2);exit}'`
|
||||
|
||||
export INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
|
||||
# Replace Startup Variables
|
||||
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
# Run the Server
|
||||
eval ${MODIFIED_STARTUP}
|
||||
eval ${MODIFIED_STARTUP}
|
||||
Reference in new issue
Block a user