summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/etc/init.d/stop-bootlogd
blob: 1797b7dc6f091ca9485c63872af2bff0ebd98109 (plain)
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
30
31
32
33
#! /bin/sh
### BEGIN INIT INFO
# Provides:          stop-bootlogd
# Required-Start:    $local_fs $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Stop bootlogd
# Description:       See the init.d/bootlogd script
### END INIT INFO

NAME=stop-bootlogd
DAEMON=/sbin/bootlogd

[ -x "$DAEMON" ] || exit 0

case "$1" in
  start)
	/etc/init.d/bootlogd stop
	;;
  stop|restart|force-reload)
	# No-op
	;;
  status)
	exec /etc/init.d/bootlogd status
	;;
  *)
	echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
	exit 3
	;;
esac

: