Update man page for multipath -r
[platform/upstream/multipath-tools.git] / multipathd / multipathd.init.debian
1 #!/bin/sh
2
3 PATH=/bin:/usr/bin:/sbin:/usr/sbin
4 DAEMON=/usr/bin/multipathd
5
6 test -x $DAEMON || exit 0
7
8 case "$1" in
9   start)
10         echo -n "Starting multipath daemon: multipathd"
11         $DAEMON
12         echo "."
13         ;;
14   stop)
15         echo -n "Stopping multipath daemon: multipathd"
16         echo "."
17         $DAEMON shutdown
18         ;;
19   force-reload|restart)
20         $0 stop
21         $0 start
22         ;;
23   *)
24         echo "Usage: /etc/init.d/multipathd {start|stop|restart|force-reload}"
25         exit 1
26         ;;
27 esac
28
29 exit 0