Merge pull request #38 from basvandewiel/35-bug-mount-at-boot-doesnt-work

Move the check for existing NFS mounts.
This commit is contained in:
Bas v.d. Wiel 2023-03-12 16:32:30 +01:00 committed by GitHub
commit b10735124f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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