config-files: remvoe the -f option for rpc.mountd
[pti/rtp.git] / meta-stx / recipes-core / stx-config-files / files / nfsserver-remvoe-the-f-option-for-rpc.mountd.patch
1 From 20359d646c6003b6056aea6cbe81d8b393084de1 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Thu, 18 Jun 2020 21:42:03 +0800
4 Subject: [PATCH] nfsserver: remvoe the -f option for rpc.mountd
5
6 The -f option is not supported any more on newer version of nfs-utils.
7
8 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9 ---
10  nfs-utils-config/files/nfsserver | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/nfs-utils-config/files/nfsserver b/nfs-utils-config/files/nfsserver
14 index 6449537..58642f1 100644
15 --- a/nfs-utils-config/files/nfsserver
16 +++ b/nfs-utils-config/files/nfsserver
17 @@ -46,7 +46,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS" -gt 0 && test "$NFS_SERVERS" -l
18  #mountd
19  start_mountd(){
20         echo -n 'starting mountd: '
21 -       start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f /etc/exports $@"
22 +       start-stop-daemon --start --exec "$NFS_MOUNTD"
23         echo done
24  }
25  stop_mountd(){
26 -- 
27 2.7.4
28