diff options
Diffstat (limited to 'Applications/NextCloud/bin')
-rw-r--r-- | Applications/NextCloud/bin/fstab | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Applications/NextCloud/bin/fstab b/Applications/NextCloud/bin/fstab index a804da2..fe47b94 100644 --- a/Applications/NextCloud/bin/fstab +++ b/Applications/NextCloud/bin/fstab @@ -2,11 +2,11 @@ source .env -if grep -q "${EXTERNAL_STORAGE_PATH_HOST}"; then +if grep -q "${EXTERNAL_STORAGE_MOUNT_PATH}"; then echo "Already mounted." exit fi -echo "${EXTERNAL_STORAGE_PARTITION} ${EXTERNAL_STORAGE_PATH_HOST} ${EXTERNAL_STORAGE_FS_TYPE} rw 0 1" >> "/etc/fstab" -mkdir -p "${EXTERNAL_STORAGE_PATH_HOST}" -mount -a -v +echo "${EXTERNAL_STORAGE_MOUNT_PARTITION} ${EXTERNAL_STORAGE_MOUNT_PATH} ${EXTERNAL_STORAGE_MOUNT_FS_TYPE} auto,nofail,rw,user 0 0" >> "/etc/fstab" +mkdir -p "${EXTERNAL_STORAGE_MOUNT_PATH}" +mount -v "${EXTERNAL_STORAGE_MOUNT_PATH}" |