mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
256 B
10 lines
256 B
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# This script returns a non-zero exit code if $UMBREL_ROOT is NOT
|
|
# mounted on external storage.
|
|
|
|
UMBREL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/../../..)"
|
|
|
|
df -h "${UMBREL_ROOT}" | grep --quiet '/dev/sd'
|
|
|