Skip to content

Commit fc9c4d4

Browse files
authored
run zpool import with network
Signed-off-by: enoch85 <[email protected]>
1 parent e14359f commit fc9c4d4

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,9 +49,6 @@ 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-
5552
# Create a snapshot before modifying anything
5653
check_free_space
5754
if does_snapshot_exist "NcVM-installation" || [ "$FREE_SPACE" -ge 50 ]
@@ -157,6 +154,9 @@ SCRIPT_NAME="Nextcloud Startup Script"
157154
# shellcheck source=lib.sh
158155
source /var/scripts/fetch_lib.sh
159156

157+
# Import if missing and export again to import it with UUID
158+
zpool_import_if_missing
159+
160160
# Get all needed variables from the library
161161
ncdb
162162
nc_update

0 commit comments

Comments
 (0)