Comment # 7 on bug 1164642 from
this should do the job more correct

--- /tmp/nfs    2020-03-10 19:19:45.977494993 +0100
+++ /etc/NetworkManager/dispatcher.d/nfs        2020-03-10 19:29:43.575427345
+0100
@@ -59,6 +59,10 @@ case "$COMMAND" in
         # Check with systemd if nfs service is enabled
         if /usr/bin/systemctl is-enabled nfs.service >/dev/null 2>&1; then
             printf %s "$NET_MOUNTS" | while IFS= read -r line; do
+                MOUNT_OPTIONS=$(echo $line | cut -f2 -d" ")
+                case ",${MOUNT_OPTIONS}," in
+                    *,noauto,*) continue ;;
+                esac
                 MOUNT_POINT=$(echo $line | cut -f2 -d" ")
                 net_mount "$MOUNT_POINT"
             done


You are receiving this mail because: