Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-config-files / stx-config-files-source / nfs-utils-config-remove-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: remove the -f option for rpc.mountd
5
6 The -f option is not supported any more on newer version of nfs-utils.
7
8 Upstream-Status: Inappropriate [poky-stx specific]
9
10 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
11 ---
12  nfs-utils-config/files/nfsserver | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/nfs-utils-config/files/nfsserver b/nfs-utils-config/files/nfsserver
16 index 6449537..58642f1 100644
17 --- a/nfs-utils-config/files/nfsserver
18 +++ b/nfs-utils-config/files/nfsserver
19 @@ -46,7 +46,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS" -gt 0 && test "$NFS_SERVERS" -l
20  #mountd
21  start_mountd(){
22         echo -n 'starting mountd: '
23 -       start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f /etc/exports $@"
24 +       start-stop-daemon --start --exec "$NFS_MOUNTD"
25         echo done
26  }
27  stop_mountd(){
28 --
29 2.7.4