From: jhuang0 <jackie.huang@windriver.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 5/6] nfs-utils: add init.d/nfsserver status command for LSB compliance
Date: Thu, 22 Aug 2013 09:52:11 +0800 [thread overview]
Message-ID: <52156ECB.3070007@windriver.com> (raw)
In-Reply-To: <5214FA18.7050002@linux.intel.com>
On 8/22/2013 1:34 AM, Saul Wold wrote:
> 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?
There was not a usage line existed, that's why the original patch didn't
have a usage update, I will add it anyway.
Thanks,
Jackie
>
> Sau!
>
>
--
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745
next prev parent reply other threads:[~2013-08-22 1:52 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
2013-08-22 1:52 ` jhuang0 [this message]
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=52156ECB.3070007@windriver.com \
--to=jackie.huang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.intel.com \
/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