Skip to content

Commit e14359f

Browse files
authored
import zpool earlier
Signed-off-by: enoch85 <[email protected]>
1 parent 5eeda8c commit e14359f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nextcloud-startup-script.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ ncdb
4949
# Check if root
5050
root_check
5151

52+
# Import if missing and export again to import it with UUID
53+
zpool_import_if_missing
54+
5255
# Create a snapshot before modifying anything
5356
check_free_space
5457
if does_snapshot_exist "NcVM-installation" || [ "$FREE_SPACE" -ge 50 ]
@@ -173,9 +176,6 @@ then
173176
run_script STATIC temporary-fix-beginning
174177
fi
175178

176-
# Import if missing and export again to import it with UUID
177-
zpool_import_if_missing
178-
179179
# Set phone region (needs the latest KEYBOARD_LAYOUT from lib)
180180
# shellcheck source=lib.sh
181181
source /var/scripts/fetch_lib.sh

0 commit comments

Comments
 (0)