Browse Source

Use status server bind mount where appropraite (#830)

v0.3.12
Luke Childs 4 years ago
committed by GitHub
parent
commit
703a5bc975
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/umbrel-os/external-storage/mount
  2. 2
      scripts/umbrel-os/external-storage/update-from-sdcard

2
scripts/umbrel-os/external-storage/mount

@ -21,7 +21,7 @@ EXTERNAL_DOCKER_DIR="${MOUNT_POINT}/docker"
SWAP_DIR="/swap" SWAP_DIR="/swap"
SWAP_FILE="${SWAP_DIR}/swapfile" SWAP_FILE="${SWAP_DIR}/swapfile"
set_status="${UMBREL_ROOT}/scripts/umbrel-os/status-server/set-status" set_status="/status-server/set-status"
check_root () { check_root () {
if [[ $UID != 0 ]]; then if [[ $UID != 0 ]]; then

2
scripts/umbrel-os/external-storage/update-from-sdcard

@ -6,7 +6,7 @@ UMBREL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/../../..)"
SD_MOUNT_POINT="/sd-root" SD_MOUNT_POINT="/sd-root"
SD_UMBREL_ROOT="${SD_MOUNT_POINT}${UMBREL_ROOT}" SD_UMBREL_ROOT="${SD_MOUNT_POINT}${UMBREL_ROOT}"
set_status="${UMBREL_ROOT}/scripts/umbrel-os/status-server/set-status" set_status="/status-server/set-status"
check_root () { check_root () {
if [[ $UID != 0 ]]; then if [[ $UID != 0 ]]; then

Loading…
Cancel
Save