From 17ddf1188f51b694d9fe457672485c64d1142934 Mon Sep 17 00:00:00 2001 From: navi Date: Mon, 28 Sep 2026 16:27:58 +0200 Subject: [PATCH] init.d/netmount: properly match on fstabinfo with multiple entries Closes: https://github.com/OpenRC/openrc/issues/956 --- init.d/netmount.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/netmount.in b/init.d/netmount.in index 5e285dfca..61009e097 100644 --- a/init.d/netmount.in +++ b/init.d/netmount.in @@ -15,8 +15,8 @@ depend() { local opts mywant="" for opts in $(fstabinfo -o -t nfs,nfs4); do - case $opts in - noauto) ;; + case ,$opts, in + *,noauto,*) ;; *) mywant="$mywant nfsclient"; break ;; esac done