diff options
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-x | init.d/netmount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/netmount b/init.d/netmount index 08cdf42d..df6e0c99 100755 --- a/init.d/netmount +++ b/init.d/netmount @@ -30,7 +30,7 @@ need_portmap() { local mnt opts ret IFS=" " set -- $(fstabinfo --fstype nfs,nfs4) - for mnt in "$@"; do + for mnt; do case ,$(fstabinfo --options "${mnt}"), in *,noauto,*|*,nolock,*);; *) return 0;; |