Comment # 8 on bug 1164642 from
Ouch ... wrong ... it is the fourth field

--- /tmp/nfs    2020-03-10 19:19:45.977494993 +0100
+++ /etc/NetworkManager/dispatcher.d/nfs        2020-03-10 19:34:21.084137993
+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 -f4 -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: