Add osm-map-nano
This commit is contained in:
commit
bedef43e13
22 changed files with 739 additions and 0 deletions
12
scripts/tmpfs_dirs.sh
Executable file
12
scripts/tmpfs_dirs.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#! /bin/bash
|
||||
|
||||
CWD=$(cd -P . && pwd)
|
||||
readarray -t TMPFS_DIRS < <(df -lt tmpfs --output=target | tail -n +2)
|
||||
|
||||
|
||||
if [[ " ${TMPFS_DIRS[*]} " =~ " ${CWD}/build " ]]; then
|
||||
echo "build alread a tmpfs"
|
||||
else
|
||||
echo "Mounting build as tmpfs"
|
||||
sudo mount -m -t tmpfs tmpfs build
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue