View | Details | Raw Unified | Return to bug 9770
Collapse All | Expand All

(-)/etc/init.d/nfslock.old (-1 / +9 lines)
Lines 21-26 Link Here
21
21
22
STATD=/sbin/rpc.statd
22
STATD=/sbin/rpc.statd
23
23
24
SourceIfNotEmpty /etc/sysconfig/nfslock
25
26
24
[ -x "$STATD" ] || exit
27
[ -x "$STATD" ] || exit
25
28
26
PIDFILE=/var/run/rpc.statd.pid
29
PIDFILE=/var/run/rpc.statd.pid
Lines 29-35 Link Here
29
32
30
start()
33
start()
31
{
34
{
32
    start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user rpcuser $STATD
35
    [ -n "$STATD_PORT" ] && \
36
	STATD_OPTIONS="$STATD_OPTIONS -p $STATD_PORT"
37
    [ -n "$STATD_OUTGOING_PORT" ] && \
38
	STATD_OPTIONS="$STATD_OPTIONS -o $STATD_OUTGOING_PORT"
39
	
40
    start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user rpcuser $STATD $STATD_OPTIONS
33
    RETVAL=$?
41
    RETVAL=$?
34
    return $RETVAL
42
    return $RETVAL
35
}
43
}

Return to bug 9770