Lines 14-26
Link Here
|
14 |
# Source function library. |
14 |
# Source function library. |
15 |
. /etc/init.d/functions |
15 |
. /etc/init.d/functions |
16 |
|
16 |
|
17 |
PIDFILE=/var/run/multipathd.pid |
17 |
PIDFILE=/run/multipathd.pid |
18 |
LOCKFILE=/var/lock/subsys/multipathd |
18 |
LOCKFILE=/var/lock/subsys/multipathd |
19 |
RETVAL=0 |
19 |
RETVAL=0 |
20 |
|
20 |
|
21 |
start() |
21 |
start() |
22 |
{ |
22 |
{ |
23 |
start_daemon --pidfile "$PIDFILE" --make-pidfile --lockfile "$LOCKFILE" --expect-user root -- multipathd |
23 |
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user root -- multipathd |
24 |
RETVAL=$? |
24 |
RETVAL=$? |
25 |
return $RETVAL |
25 |
return $RETVAL |
26 |
} |
26 |
} |