Files
docker-steam-headless/overlay/opt/scripts/drop_caches.sh
Josh.5 0008e05848 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.
2022-01-12 20:53:55 +13:00

17 lines
382 B
Bash
Executable File

#!/usr/bin/env bash
###
# File: drop_caches.sh
# Project: docker-steam-headless
# File Created: Wednesday, 12th January 2022 5:08:46 pm
# Author: Josh.5 (jsunnex@gmail.com)
# -----
# Last Modified: Wednesday, 12th January 2022 5:44:17 pm
# Modified By: Josh.5 (jsunnex@gmail.com)
###
# Clear out the memory page cache
echo 1 > /proc/sys/vm/drop_caches
# Flush any FS buffers
sync