Revision 22801,
684 bytes
checked in by tabbott, 17 years ago
(diff) |
Make sure autofs stops before openafs stops.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #! /bin/sh -e |
---|
2 | ### BEGIN INIT INFO |
---|
3 | # Provides: debathena-autofs-config |
---|
4 | # Required-Start: |
---|
5 | # Required-Stop: openafs-client |
---|
6 | # Should-Start: $local_fs $network |
---|
7 | # Default-Start: |
---|
8 | # Default-Stop: S 0 1 6 |
---|
9 | # Short-Description: Debathena /mit automounter |
---|
10 | # Description: Stops the debathena /mit automounter before OpenAFS stops. |
---|
11 | ### END INIT INFO |
---|
12 | |
---|
13 | NAME=debathena-autofs-config |
---|
14 | |
---|
15 | case "$1" in |
---|
16 | start) |
---|
17 | ;; |
---|
18 | stop) |
---|
19 | /etc/init.d/autofs stop |
---|
20 | ;; |
---|
21 | force-reload) |
---|
22 | ;; |
---|
23 | restart) |
---|
24 | ;; |
---|
25 | *) |
---|
26 | N=/etc/init.d/$NAME |
---|
27 | # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 |
---|
28 | echo "Usage: $N {start|stop|restart|force-reload}" >&2 |
---|
29 | exit 1 |
---|
30 | ;; |
---|
31 | esac |
---|
32 | |
---|
33 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.