From: Saul Wold <sgw@linux.intel.com>
To: jackie.huang@windriver.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 5/6] nfs-utils: add init.d/nfsserver status command for LSB compliance
Date: Wed, 21 Aug 2013 10:34:16 -0700 [thread overview]
Message-ID: <5214FA18.7050002@linux.intel.com> (raw)
In-Reply-To: <00b70d017db692cbb7d5965de26726ae0a695f88.1377064624.git.jackie.huang@windriver.com>
On 08/20/2013 11:15 PM, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> Signed-off-by: Li Wang <li.wang@windriver.com>
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
> .../nfs-utils/nfs-utils/nfsserver | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> index e460e26..5b4f199 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
> @@ -14,6 +14,8 @@
> #
> # Startup script for nfs-utils
> #
> +# Source function library.
> +. /etc/init.d/functions
> #
> # The environment variable NFS_SERVERS may be set in /etc/default/nfsd
> # Other control variables may be overridden here too
> @@ -141,6 +143,13 @@ stop) exportfs -ua
> stop_statd
> stop_mountd
> stop_nfsd;;
> +status)
> + status /usr/sbin/rpc.mountd
> + RETVAL=$?
> + status nfsd
> + rval=$?
> + [ $RETVAL -eq 0 ] && exit $rval
> + exit $RETVAL;;
> reload) test -r /etc/exports && exportfs -r;;
> restart)exportfs -ua
> stop_mountd
>
Should there also be a usage update or addition?
Sau!
next prev parent reply other threads:[~2013-08-21 17:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 6:15 [PATCH 0/6 v2] Add status command for daemon of some packages jackie.huang
2013-08-21 6:15 ` [PATCH 1/6] sysklogd: add init.d/syslog status command for LSB compliance jackie.huang
2013-08-21 6:15 ` [PATCH 2/6] at: add init.d/atd " jackie.huang
2013-08-21 6:15 ` [PATCH 3/6] dbus: add init.d/dbus-1 " jackie.huang
2013-08-21 6:15 ` [PATCH 4/6] sysvinit: add init.d/bootlogd " jackie.huang
2013-08-21 6:15 ` [PATCH 5/6] nfs-utils: add init.d/nfsserver " jackie.huang
2013-08-21 17:34 ` Saul Wold [this message]
2013-08-22 1:52 ` jhuang0
2013-08-21 6:15 ` [PATCH 6/6] openssh: add init.d/sshd " jackie.huang
2013-08-21 17:34 ` Saul Wold
2013-08-22 5:53 ` jhuang0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5214FA18.7050002@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=jackie.huang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox