Move the check for existing NFS mounts.

This commit is contained in:
Bas v.d. Wiel 2023-03-12 16:31:34 +01:00
parent 5952f9ebb7
commit a73c7f6c5b
1 changed files with 3 additions and 3 deletions

View File

@ -263,9 +263,6 @@ function mount_nfs() {
# Ensure we are the root user
as_root
# ..and that the we haven't already got NFS filesystems present.
no_existing_nfs
# Load configuration from the .ini file if we have one.
load_ini
@ -287,6 +284,9 @@ install_mount_at_boot
# ..or remove them if that's what the user wants.
remove_mount_at_boot
# Only ensure we haven't already got NFS filesystems present
no_existing_nfs
# Finally, we mount the NFS filesystem and be done with it.
mount_nfs
exit 0