Neil Brown 2010-04-19 05:02:51 +00:00 committed by Git OBS Bridge
parent f3876d9ada
commit 24214a2c72
4 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 19 04:54:50 UTC 2010 - nfbrown@novell.com
- sysconfig.nfs, nfsserver.init, start-start: handle
STATD_OPTIONS so that sysadmin can easily set options
like port number. (bnc#595379)
-------------------------------------------------------------------
Fri Mar 26 15:39:05 CET 2010 - mmarek@suse.cz

View File

@ -212,7 +212,7 @@ case "$1" in
}
# rpc.statd
echo -n " statd"
startproc /usr/sbin/rpc.statd --no-notify || {
startproc /usr/sbin/rpc.statd --no-notify $STATD_OPTIONS || {
rc_status -v
rc_exit
}

View File

@ -5,7 +5,8 @@
# It should run run statd with whatever flags are apropriate for this
# site.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
rpc.statd --no-notify
. /etc/sysconfig/nfs
rpc.statd --no-notify $STATD_OPTIONS
# in case firewall needs to punch a hole for the
# statd port...
/etc/init.d/SuSEfirewall2_setup try-restart > /dev/null 2>&1

View File

@ -60,3 +60,13 @@ SM_NOTIFY_OPTIONS=""
#
NFS_START_SERVICES="no"
## Path: Network/File systems/NFS server
## Description: Command line parameters for rpc.statd
## Type: string
## Default: ""
#
# Custom parameters for rpc.statd daemon. Typically this will
# be used to set the port number (-p).
#
STATD_OPTIONS=""