File: ceph.prerm

package info (click to toggle)
ceph 0.80.7-2%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 33,208 kB
  • ctags: 59,027
  • sloc: cpp: 371,579; ansic: 41,688; sh: 15,223; python: 9,402; makefile: 2,906; java: 1,488; asm: 1,073; xml: 227
file content (29 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# vim: set noet ts=8:

set -e

case "$1" in
	remove)
		if [ -x /sbin/stop ]; then
			invoke-rc.d ceph-all stop || {
				RESULT=$?
				if [ $RESULT != 100 ]; then
					exit $RESULT
				fi
			}
		fi
		invoke-rc.d ceph stop || {
			RESULT=$?
			if [ $RESULT != 100 ]; then
				exit $RESULT
			fi
		}
	;;
	*)
	;;
esac

#DEBHELPER#

exit 0