Improvements to the init process

Move some files to locations that make more sense...
Downloads go to Downloads
Init scripts go to an "init" directory
Add a script for clearing up some memory - May or may not use it.
This commit is contained in:
Josh.5
2022-01-12 20:53:55 +13:00
parent 1ba89a9bc8
commit 0008e05848
9 changed files with 26 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
###
# File: entrypoint.sh
# Project: docker-steamos
# Project: docker-steam-headless
# File Created: Saturday, 8th January 2022 7:08:46 pm
# Author: Josh.5 (jsunnex@gmail.com)
# -----
@@ -17,8 +17,8 @@ if [ ! -z "$@" ]; then
exit $?
fi
# Execute all init scripts
for init_script in /scripts/*.sh ; do
# Execute all container init scripts
for init_script in /etc/cont-init.d/*.sh ; do
echo
echo "[ ${init_script}: executing... ]"
sed -i 's/\r$//' "${init_script}"